Lots of interesting writeups on Java 9 this week.
Here we go…
1. Spring and Java
The Java EE team is considering going to an open-source, third-party foundation.
I think that's going to be a great step forward – I hope it really works out this way 🙂
Incubator modules will be an interesting feature of the JPMS – they will allow a safe introduction of unfinished or experimental APIs.
Spring Boot 2.0 brings many important (and cool) changes to Actuators, along with the support for Spring MVC, Spring WebFlux, and Jersey.
It turns out that the Stream API Collectors can be used easily with Vavr (formerly Javaslang) Collections and even with tools like Option or Try.
The rebranded Javaslang is approaching the first full release under the new name – which will include numerous changes like splitting the main artifact into smaller ones, and Java interoperability improvements.
I always find it interesting to look at the high-level state of our ecosystem.
My one note here is that I would have liked to also see Clojure in there as well.
Also worth reading:
Webinars and presentations:
Time to upgrade:
2. Technical
“Unbundling” a database makes it possible to share it between multiple services without causing an unnecessary coupling.
A cool case-study of refactoring code containing multiple nested for and if statements.
Also worth reading:
3. Musings
Microservices are not a recipe for a universally applicable architecture.
Like anything else – they need to be applied when there are specific problems to be solved.
There are many misconceptions about the TDD out there – here are just some of the most interesting ones.
Also worth reading:
4. Comics
And my favorite Dilberts of the week:
5. Pick of the Week
This week I've finally announced the new stuff that's coming down the pike in my REST With Spring course – all related to Spring 5 (along with the upcoming price change):
res – REST with Spring (eBook) (everywhere)