Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
As usual, the first step is to create the project for the samples in this chapter. Because we are discussing web applications, we need to create a Spring MVC project. In addition, we will create a service layer using JPA 2 with Hibernate and Spring Data JPA as the persistence service provider. To create the project in STS, please refer to Chapter 16, which also details the required dependencies. Make sure to change the project name and all package names to use “ch17” instead of “ch16” for this chapter. After you have created the project, verify that you can see the default home page created by the template project, which indicates that the initial project works correctly.