When I was asked to write a book about Spring Data by Packt Publishing, I was stunned. To be honest, I could not believe that this was happening to me. I know that this is a huge cliche but it felt like a dream. I almost had to pinch myself to ensure that I was […] Read more
Spring Framework
This is the third part of my spring-test-mvc tutorial and it describes how we can write integration tests for controller methods that are processing form submissions. During this tutorial we will continue writing integration tests for a simple todo application. This tutorial concentrates on two functions that are used to create new todo entries and […] Read more
This is the second part of my spring-test-mvc tutorial and it describes how we can write integration tests for “normal” controller methods (methods that are not using Ajax or processing form submissions). During this tutorial, we write integration tests for a simple todo application that provides CRUD functions for todo entries. This tutorial concentrates on […] Read more
No one of us can deny the importance of integration testing. It is an important tool which we can use to verify that our components are working together in a correct way. However, the integration testing of web applications build by using Spring MVC has been problematic. We have been using tools like Selenium or […] Read more
This is the ninth and the last part of my Spring Data JPA tutorial. Now it is time to take a look of what we have learned, and how we should use it to build better software. Table of Contents The contents of my Spring Data JPA tutorial is given in following: Part One: Configuration […] Read more
Although Spring Data JPA provides an excellent support for implementing CRUD operations and creating database queries, sometimes we need to do things that are not supported by it. For example, Spring Data JPA doesn't provide a built-in support for querying DTOs by using SQL. Luckily for us, we can "extend" our Spring Data JPA repositories […] Read more