Partner – Moderne – NPI EA (cat=Spring Boot)
announcement - icon

Refactor Java code safely — and automatically — with OpenRewrite.

Refactoring big codebases by hand is slow, risky, and easy to put off. That’s where OpenRewrite comes in. The open-source framework for large-scale, automated code transformations helps teams modernize safely and consistently.

Each month, the creators and maintainers of OpenRewrite at Moderne run live, hands-on training sessions — one for newcomers and one for experienced users. You’ll see how recipes work, how to apply them across projects, and how to modernize code with confidence.

Join the next session, bring your questions, and learn how to automate the kind of work that usually eats your sprint time.

Course – Black Friday 2026 – NPI EA – main – before_post_content
announcement - icon

Yes, we're now running our Black Friday Sale. All Courses are 33% off until 1st December, 2026 at 17:00 Romania time:

>> EXPLORE ACCESS NOW

Course – Black Friday 2026 – NPI – main – before_post_content
announcement - icon

Yes, we're now running our Black Friday Sale. All Courses are 33% off until 1st December, 2026 at 17:00 Romania time:

>> EXPLORE ACCESS NOW

Lots of interesting writeups on Java 9 this week.

Here we go…

1. Spring and Java

>> A Nice API Design Gem: Strategy Pattern With Lambdas [jooq.org]

The introduction of lambda expressions and functional interfaces allows us to rethink the design and simplify the Strategy Design Pattern (and many other).

>> Spring Boot and Security Events with Actuator [codeleak.pl]

Spring Boot Actuator comes with user-friendly support for handling audit and security events.

Simply put, all we need to do is to define a listener for the predefined events.

>> Project Amber will revolutionize Java [sitepoint.com]

A lot of new changes are finally coming to Java. These include Local Variable Type Inference, Generic Enums, Data Classes and Pattern Matching.

“We’ve had those in other languages ten years ago” posts are coming.

>> Fully configurable mappings for Spring MVC [frankel.ch]

With a little bit of effort, we can bring the features of Boot Actuators to non-Boot applications as well.

>> Spring Data Improvements in IntelliJ IDEA 2017.1 [jetbrains.com]

IntelliJ IDEA is getting, even more, Spring-oriented features.

>> The Open-Closed Principle is Often Not What You Think it Is [jooq.org]

The pragmatic approach to the Open-Closed Principle does not involve aiming for openness at any costs.

>> JDK 9 Rampdown Phase 2: Process proposal [mail.openjdk.java.net]

The 2nd phase of JDK 9 rampdown just started.

>> Better tools for adjusting to strong encapsulation [mail.openjdk.java.net]

The internal APIs in the JDK should not have been used but they were by multiple frameworks which are experiencing errors now.

JDK 9 will feature a special workaround for these situations.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical

>> Acing the technical interview [aphyr.com]

That’s how you make interviewers hate you 🙂

>> Taking a Pragmatic View of Isolated Tests [thecodewhisperer.com]

Writing isolated tests can greatly influence the design of your system by exposing excessive coupling and insufficient cohesion.

>> “Infinity” is a Bad Default Timeout [techblog.bozho.net]

Yeah, setting your timeouts to infinity or ignoring them is very likely not a good idea.

>> Don’t forget about value objects! [plainoldobjects.com]

Value Objects are a great way of dealing with the String type abuse. Working in a strongly typed language, it makes a lot of sense to leverage these.

Also worth reading:

3. Musings

>> The product Is – Is not – Does – Does not [martinfowler.com]

Sometimes it’s easier to explore and explain an idea by first clarifying what it’s not 🙂

>> Does software performance still matter? [lemire.me]

Software performance is critical and should not be neglected, but at the end of the day, it is the absolute value of the code that counts.

>> Don’t Just Flag It — Fix It! [daedtech.com]

Information about problems, without an actual solution – it is not a good way to go.

Also worth reading:

4. Comics

And my favorite Dilberts of the week:

>> How’d you get the black eye [dilbert.com]

>> My mom raised me by putting a thermos of coffee in my crib [dilbert.com]

>> An aggressive recruiter looking for passive job seekers [dilbert.com]

5. Pick of the Week

>> Open Source (Almost) Everything [tom.preston-werner.com]

Partner – Moderne – NPI EA (tag=Refactoring)
announcement - icon

Modern Java teams move fast — but codebases don’t always keep up. Frameworks change, dependencies drift, and tech debt builds until it starts to drag on delivery. OpenRewrite was built to fix that: an open-source refactoring engine that automates repetitive code changes while keeping developer intent intact.

The monthly training series, led by the creators and maintainers of OpenRewrite at Moderne, walks through real-world migrations and modernization patterns. Whether you’re new to recipes or ready to write your own, you’ll learn practical ways to refactor safely and at scale.

If you’ve ever wished refactoring felt as natural — and as fast — as writing code, this is a good place to start.

Course – Black Friday 2026 – NPI EA – main – after_post_content

announcement - icon

Yes, we're now running our Black Friday Sale. All Courses are 33% off until 1st December, 2026 at 17:00 Romania time:

>> EXPLORE ACCESS NOW

Course – Black Friday 2026 – NPI – main – after_post_content

announcement - icon

Yes, we're now running our Black Friday Sale. All Courses are 33% off until 1st December, 2026 at 17:00 Romania time:

>> EXPLORE ACCESS NOW