I released the starter package of my Test With Spring course. Take a look at the course >>

Design

We Are Gonna Need It

a waterfall in a mountain
There was a time (not so long ago) when we designed everything before we wrote any code. We gathered the requirements of our application and wrote the requirement specification. We took these requirements and designed an architecture that helped us

Domain-Driven Design Revisited

Business man facing problems
Recently I read a book titled Domain-Driven Design by Eric Evans. This wasn’t the first time I read this book but this time I realized that I had been totally wrong about domain-driven design. I thought that the domain model consists of entities

Three Reasons Why I Like the Builder Pattern

Builder hat and tools
There are three ways to create new objects in Java programming language: The telescoping constructor (anti)pattern The Javabeans pattern The builder pattern I prefer the builder pattern over the other two methods. Why? Joshua Bloch described the

Why I Changed My Mind About Field Injection?

Way in deep forest
I used to be a huge fan of field injection. But one day I started to question myself. Could it be possible that I have been mistaken? Let’s find out what happened. Can It Be Too Simple? I was, of course, aware of the fact that field injection