Lots of interesting write-ups on Java 9 this week.

Here we go…

1. Spring and Java

>> Painlessly Migrating do Java Jigsaw Modules – a Case Study [infoq.com]

Modularity is the next big thing in the upcoming Java version. Let’s have a look at options for modularizing existing applications.

>> A JDeps Primer – Analyzing Your Project’s Dependencies [blog.codefx.org]

A quick and practical overview of JDeps – a tool for analyzing project’s dependencies.

>> Don’t Extract Everything Into a Method [blog.jooq.org]

We can use labels in Java – which is something many developers don’t necessarily remember. These can be beneficial in a few particular scenarios – and might help us avoid artificial extraction of short, locally used methods.

>> Basic Spring web application in Java, Kotlin, and Scala – comparison [rskupnik.github.io]

A very interesting comparison of the same simple Spring application written in 3 different JVM languages.

Also worth reading:

Time to upgrade:

2. Technical

>> Basic API Rate-Limiting [techblog.bozho.net]

If we want to apply client-specific rate limiting, a standard load balancer might be not enough – especially when there’s no uniform way of identifying clients. Guava RateLimiter can be a good choice here.

>> TestContainers: making Java integration tests easy [zeroturnaround.com]

TestContainers is definitely a very interesting library for quick setup and management of test environments. We can quickly run and manage database instances or anything that can run inside Docker containers.

Also worth reading:

3. Musings

>> Blockchain, the next big thing? [blog.codecentric.de]

Blockchain technologies are getting more and more popular.

Also worth reading:

4. Comics

And my favorite Dilberts of the week:

>> I don’t like confrontation [dilbert.com]

>> Some sort of Feng Shui [dilbert.com]

>> That’s not fair [dilbert.com]

5. Pick of the Week

>> Focus: The Ultimate Guide on How to Improve Focus and Concentration [jamesclear.com]