1. Java and Spring

>> Java 8 StampedLocks vs. ReadWriteLocks and Synchronized

A practical look and benchmark using four modes of locking – synchronized, RW Lock, Stamped RW lock and RW optimistic locking. Nice writeup, lots to learn from this one.

>> Parsing a file with Stream API in Java 8

Short article on parsing a file using the new Java 8 Stream API – it’s a brave new world.

>> Writing Clean Tests – New Considered Harmful

Ever since this great talk on Global State and Singletons (on youtube), new has been “persona non grata” for me – this article is a great primer for some of the reasons why that is the case.

>> Preview Spring Security Test: HtmlUnit

This series that started a few weeks ago by introducing Spring Security 4 – this article (and the next) build on that momentum by showing how to use HtmlUnit to test your Spring MVC logic.

>> Preview Spring Security Test: Web Security

The new testing support for Spring MVC coming down the pike in Spring Security 4.

2. Technical

>> Is TDD Dead?

Home base for the TDD focused series of hangouts – I covered this in the last few weeks so I won’t harp on it here – the recordings are there if you want to take a look. Part 4 will be live in a few days (on the 4th of June).

>> Rest API best(?) practices reloaded

Some solid practices to pay attention to when designing your REST API; and the cool thing about this article is that it’s clearly based on practical experience building APIs for clients – and not the “It needs to be RESTful because it just does” school of though.

3. Musings

>> Shame is good

And in the same vein, a though about moderation and how some negative aspects of development can have a positive effect on your work.

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