The new Certification Class of REST With Spring is out:


Lots of interesting writeups on Java 9 this week.

Here we go…

1. Spring and Java

>> Java to Move to 6-Monthly Release Cadence []

Moving forward, Java will be released twice a year.

This is a big step, which should make it possible to constantly introduce new, smaller features without waiting for the completion of big ones (JPMS, Lambda Expressions).

>> Code Smells: Multi-Responsibility Methods []

It is not a secret that “god” methods are hard to test, maintain, and refactor.

>> Spring Boot 2.0 Will Feature Improved Actuator Endpoints []

The new Spring Boot will bring slightly redesigned Actuator Endpoints – with improved security.

>> Streaming large JSON file with Jackson – RxJava FAQ []

An interesting use case for RxJava used for streaming JSON files without risking the memory overload.

>> Bypassing Kotlin’s Null-Safety []

There are situations when Kotlin’s null safety won’t always protect us – this is especially the case with libraries that use sun.misc.Unsafe.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical

>> Type of Mocks []

Keep in mind that not every substitute implementation is a mock; we have also spies, dummies, stubs, and fakes.

Also worth reading:

3. Musings

>> Getting Started with Behavior-Driven Development []

BDD ideas bridge the gap between engineers and business when it comes to testing. Definitely worth having a look.

Also worth reading:

4. Comics

And my favorite Dilberts of the week:

>> Work from home []

>> Legacy System []

>> Excuses []

5. Pick of the Week

>> Finally Getting the Most out of the Java Thread Pool []

Go deeper into building a REST API with Spring: