I released five new sample lessons from my Test With Spring course: Introduction to Spock Framework


We Are Gonna Need It

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

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

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?

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