Tag: Design Pattern
-

The Command Pattern in Java: Eliminating Fat Service Classes with Commands and Handlers
Fat Service classes are a liability — one class that does everything is a class that’s impossible to test and dangerous to change. This post shows how to apply the Command pattern in Java using Records, Repository interfaces, and single-responsibility Handlers to keep your business logic clean and isolated.
-

For complex topics, I stop using Spring Services
When we need to write complex Services, using a Object Oriented solution will ease the implementation and facilitate the unit tests.
