Lots of interesting writeups on Java 9 this week.
Here we go…
1. Spring and Java
The future Java with Local Variable Type Inference, Enhanced Enums, and Lambda Leftovers definitely looks interesting. Let’s hope we won’t have to wait for too long ?
Java 9 should be released in a few months, so this is a good time to brush up on our knowledge about the upcoming module system.
It turns out that the standard @EnableWebMvc annotation does not integrate well with Spring Boot and can turn off some of its autoconfiguration magic.
Each of those approaches has its own set of benefits and challenges. The rule of thumb would be to stick to only one of them but if you still want to use both, remember that XML mappings override those configured using annotations.
Many developers tend to stick to XML-based config when configuring their Spring applications. It’s good to recall that almost everything can be achieved now with a Java-based config.
There were some improvements introduced to Thymeleaf recently and there are few small things to remember about.
A quick and practical example of implementing batch processing using JPA and Hibernate only.
Also worth reading:
Webinars and presentations:
Time to upgrade:
2. Technical
Microservices have their own set of challenges, and calling them successfully is certainly one of them.
Quick and practical examples of using JsonPath and XmlPath with REST-assured.
Also worth reading:
3. Musings
At the end of the day, software developers get hired to optimize and automate so it’s important to market yourself as someone that solves problems and not someone that simply develops things.
Also worth reading:
4. Comics
And my favorite Dilberts of the week:
5. Pick of the Week