1. Java and Spring

>> Test Data Builders and Object Mother: another look

Let’s start this review with something cool – an interesting combination of using the well-known Builder pattern with a factory. I’ve been personally doing Builder-only for years, but I might give this shorthand a try. All in all – go read this one.

>> Lambda Expressions and Stream API: basic examples

Some quick and to the point examples of using Java 8 Lambas and Streams – Rafał is on a roll this week 🙂

>> Java 8 Friday: 10 Subtle Mistakes When Using the Streams API

Looks like the Streams API has a few caveats to be aware of – good to have a rundown of some of these.

>> Further Cache Improvements in Spring 4.1

The Spring Cache support is clearly moving forward with 4.1. We’re going to see more convenient operations when interacting with the cache directly, more flexibility in terms of picking an actual caching implementation as well as some good exception handling improvements.

>> Final Service Release For Spring Data Release Train Codd Available

New Spring Data release – mostly bug fixes which makes it an easy upgrade.

>> Better error messages with Bean Validation 1.1 in Spring MVC application

Good rundown of an up-to-date bean validation setup for Spring MVC – definitely worth bookmarking.

>> The Simple Story Paradox

In the wake of all the TDD hangouts and ensuing discussions – here’s an interesting and in-depth take on the design choices we sometimes take for granted. There’s a whole spectrum between the simplest possible thing all the way up to an N-tiered architecture.

>> Getting Started with Gradle: Introduction

Looks like a good intro into Gradle, if you’re planning to jump over. I personally haven’t yet gone to much into Gradle other than building Spring Framework (which now uses it) – just because at a first glance, it looked a little bit similar to Ant in terms of to much flexibility. If I do decide to give it a proper go, this is going to be the tutorial I follow.

2. Musings

>> Code Reviews Should Be about Incremental Improvement

Lots to learn from this code reviews series, and the argument that you should really fight your gut instinct and pick your battles in a discussion probably goes far beyond the code review setting.

This is something that never came naturally to me, so I had to learn by doing and tracking the results. Being considerate and accepting that you’re not going to radically change everything in this one single discussion – has resulted in a much better chance of actually making an impact.

Baeldung Pro – NPI EA (cat = Baeldung)
announcement - icon

Baeldung Pro comes with both absolutely No-Ads as well as finally with Dark Mode, for a clean learning experience:

>> Explore a clean Baeldung

Once the early-adopter seats are all used, the price will go up and stay at $33/year.

eBook – HTTP Client – NPI EA (cat=HTTP Client-Side)
announcement - icon

The Apache HTTP Client is a very robust library, suitable for both simple and advanced use cases when testing HTTP endpoints. Check out our guide covering basic request and response handling, as well as security, cookies, timeouts, and more:

>> Download the eBook

eBook – Java Concurrency – NPI EA (cat=Java Concurrency)
announcement - icon

Handling concurrency in an application can be a tricky process with many potential pitfalls. A solid grasp of the fundamentals will go a long way to help minimize these issues.

Get started with understanding multi-threaded applications with our Java Concurrency guide:

>> Download the eBook

eBook – Java Streams – NPI EA (cat=Java Streams)
announcement - icon

Since its introduction in Java 8, the Stream API has become a staple of Java development. The basic operations like iterating, filtering, mapping sequences of elements are deceptively simple to use.

But these can also be overused and fall into some common pitfalls.

To get a better understanding on how Streams work and how to combine them with other language features, check out our guide to Java Streams:

>> Join Pro and download the eBook

Course – LS – NPI EA (cat=REST)

announcement - icon

Get started with Spring Boot and with core Spring, through the Learn Spring course:

>> CHECK OUT THE COURSE

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.