Packt Publishing started selling its books at shop.oreilly.com. Because O'Reilly wants to welcome Packt Publishing to shop.oreilly.com, all eBooks (DRM-free) published by Packt Publishing are sold on 50% discount. This deal includes my Spring Data book. You can get my Spring Data book by following this link. Use the campaign code WKPCKT to claim your […] Read More
Spring Framework
Unit Testing of Spring MVC Controllers: REST API
This blog post is outdated! If you want to learn how you can write unit tests for a Spring MVC REST API, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for a Spring MVC REST API with JUnit 5. Spring MVC provides an […] Read More
What Kind of a Spring Testing Book Would You Love to Read?
As some of you know, I wrote a book about Spring Data which was published in November 2012. When that book was done, I swore that I would not write another book in the near future. However, when time passed by I started to think that I would like to write a book about my […] Read More
Unit Testing of Spring MVC Controllers: "Normal" Controllers
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. The first part of this tutorial described how […] 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
Spring From the Trenches: Using Environment Specific Cron Expressions With the @Scheduled Annotation
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