Rod Johnson Is Right: The Scala Community Need to Grow Up

The one thing that has always bothered me about functional programming languages is that they seem to attract very intelligent and extremely arrogant people. You might argue that these people are the loud minority of the functional programming community, and you might be right. But guess what? It does not matter. If you want to […] Read more

Screencast: Unit Testing of Spring MVC Controllers - Configuration

This video is outdated! If you want to learn how you can write unit tests for Spring MVC controllers, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for Spring MVC controllers with JUnit 5. This is the first part of my video tutorial […] Read more

Unit Testing of Spring MVC Controllers: Configuration

This blog post is outdated! If you want to learn how you can write unit tests for Spring MVC controllers, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for Spring MVC controllers with JUnit 5. Writing unit tests for Spring MVC controllers has […] Read more

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 versus constructor injection versus setter injection is […] Read more

The Biggest Flaw of Spring Web Applications

The developers who are using Spring Framework in their applications are good to talk about the benefits of dependency injection. Unfortunately, they are not so good to leverage its benefits such as the single responsible principle and separation of concerns in their applications. If we take a look at any Spring powered web application, the […] Read more

The @Scheduled annotation offers an easy way to create scheduled tasks in Spring powered applications. We can use it to schedule our tasks by using either periodic scheduling or cron expressions. Although period scheduling can also be useful, the cron expressions give us much more control over the invocation of the scheduled tasks. That is […] Read more