Java Weekly, Issue 186

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

Here we go…

1. Spring and Java

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.

>> Collections Refueled [oracle.com]

Java 8 was all about lambdas and the Stream API – but the addition of default methods allowed to add additional functionality to already existing interfaces in the Collections API.

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:

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

Leave a Reply

Your email address will not be published.