Java Web Weekly, Issue 174

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 SE 9 – JPMS modules are not artifacts [joda.org]

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.

>> Spring Boot, @EnableWebMvc And Common Use-Cases [techblog.bozho.net]

It turns out that the standard @EnableWebMvc annotation does not integrate well with Spring Boot and can turn off some of its autoconfiguration magic.

>> Mapping Definitions in JPA and Hibernate – Annotations, XML or both? [thoughts-on-java.org]

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.

>> Spring Security – Programmatic Registration of Java Configuration Beans [baselogic.com]

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.

>> Thymeleaf 3 Standard Layout System Improvements [codeleak.pl]

There were some improvements introduced to Thymeleaf recently and there are few small things to remember about.

>> The best way to do batch processing with JPA and Hibernate[vladmihalcea.com]

A quick and practical example of implementing batch processing using JPA and Hibernate only.

>> JSR 269 MR for Java SE 9, last call for comments [oracle.com]

If you want to add something to the Annotation Processing API, it’s the last call ?

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.

>> Using JsonPath and XmlPath in REST Assured [ontestautomation.com]

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:

>> Power Nap! [dilbert.com]
>> The hero’s journey [dilbert.com]
>> The key to leadership [dilbert.com]

5. Pick of the Week

Leave a Reply

Your email address will not be published.