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

At the very beginning of 2014 I decided to track my reading habits and share the best stuff here, on Baeldung.

Here we go…

1. Spring

Let’s star the review with some exciting news – lots of Spring releases this week:

And of course, a few more recordings from SpringOne – most about Spring XD:

>> Spring Data JPA Tutorial: Getting the Required Dependencies

A very helpful and to the point post on putting together the right Maven dependencies to use Spring Data JPA.

>> Creating a REST API with Spring Boot and MongoDB

And a solid intro to build a REST API with Boot and MongoDB.

>> Boot your own infrastructure – Extending Spring Boot in five steps

A detailed, infrastructure level article on building your own Spring Boot Starter, if you can’t find an existing one that already covers your needs. And who knows – perhaps it will someday became official.

>> Avoid conditional logic in @Configuration

When @Profile was introduced in Spring, it had quite an effect on the way we could control our configuration. We could do things with profiles that simply weren’t possible before, at least not cleanly – which is ultimately what you’re looking for in a good abstraction.

Spring 4.0 improved on @Profile by introducing @Conditional – a next level of abstraction annotation that basically allow you to control your configuration based on any number of conditions, not just profiles.

This piece goes into some detail on how to use these conditional annotations that Spring Boot makes available.

2. Java

>> What might a Beans v2.0 spec contain?

A cool though experiment on what would make sense in a new Java Beans 2.0 spec. But more than just that – an actual, early implementation you can check out (and contribute to).

>> On heap vs off heap memory usage

Off heap memory for the JVM is one of those things you read about but may never actually use. Even so, this is a piece I enjoyed reading.

>> Don’t be “Clever”: The Double Curly Braces Anti Pattern

An oldie but a goodie – the double curly braces instantiation. Yeah – not a good idea.

>> The downside of version-less optimistic locking

An article on version-less optimistic locking – a cool Hibernate feature I didn’t know about.

>> Replacing Throwing Exceptions with Notification in Validations

A must read on handling validation properly and how to refactor your way to a better notification based solution.

>> Elasticsearch tips: inserting vs. updating your index

I’ve been using a lot of Elasticsearch lately and this was helpful.

3. Technical and Musings

>> Chris Richardson Discusses CQRS and Event Sourcing via Docker

A very articulate and engaging 15 minute interview with Chris Richardson on CQRS architecture.

If you’re building micro-services (or thinking about it) – CQRS and Event Sourcing are a solid way to go.

>> Flexibility vs Simplicity? Why Not Both?

Pragmatic piece on being critical and reevaluating your beliefs, even (or especially) the industry accepted ones you previously took for granted. A better way may be available if you just look at the problem differently.

4. Comics

All in with Dilbert this week:

>> Hunt Down and Kill Our Data

>> Made Up Numbers

>> Reinstall your OS

5. Pick of the Week

I recently introduced the “Pick of the Week” section here in my “Weekly Review”. If you’re already on my email list – you got the pick already – hope you enjoyed it.

If not – you can share the review and unlock it right here:

[sociallocker id=”5073″]

>> The Cathedral and the Bazaar

Arguably one of the more influential pieces of writing by Eric S. Raymond, and a fascinating read. Here’s a prettier version if you the original XHTML is to clean 🙂

[/sociallocker]

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