Category Archives: Spring

Unit Testing Spring MVC JSON data-binding with JUnit and Mockito

In this post, I’ll show you how to write clean and easy to understand JUnit test for any Spring Controller that has JSON databinding through the @RequestBody annotation with only JUnit and Mockito.

Also posted in Java | Leave a comment

How-to: Using Tiles 2.2.2 with Spring MVC 3.x

In this short tutorial, I’ll explain you how to use the Tiles 2.2.2 templating along with Spring MVC 3.x.

Also posted in Java, Web | Tagged , | Leave a comment