Sunday, April 21, 2019

SImple Spring Boot and React working example

https://developer.okta.com/blog/2018/07/19/simple-crud-react-and-spring-boot

Matt Raible is a boss and he is so straight to the point and precise.

Remember that if you have in your pom.xml the dependency spring-boot-starter-security, then Spring Boot will enable security by default with username "user" and a dynamically generated password:

https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-security.html

so for the time being I have excluded this dependency.

This https://www.baeldung.com/spring-security-login should explain more how to handle web security with the great fluent api provided by Spring.

Friday, April 19, 2019

Intellij and WebLogic

https://www.jetbrains.com/help/idea/configuring-and-managing-application-server-integration.html



Wednesday, April 17, 2019

never copy/paste from outlook or Word

Microsoft sucks




The command on the left was copied from an email (Outlook). And it was failing, returning EVERYTHING, not only config.xml.

Then I have typed all over again (right pane) and it was working

Visually they look absolutely the same, even in Notepad++. But a closer inspection reveals hidden chars.

Copying and pasting from Outlook or Word has caused more victims than the 1919 Spanish Flu.

I remember a production delivery failed because someone copied a command from a Word document where Word had capitalized a property name.