Summary

In this chapter, we have learned that:

  • Maven provides an easy way to set up a Spring Data JPA project
  • We can configure the application context of our application by using programmatic configuration if we use Spring Framework 3.0 or newer versions
  • If we use Spring Framework 3.1 in a Servlet 3.0 environment, we can configure our web application without web.xml
  • Spring Data JPA simplifies the creation of custom repositories because it can automatically create concrete implementations of our repository interfaces

Building a CRUD application is a good start but it does not help us create real-life applications. In the next chapter, we will address this issue and describe how we can create database queries with Spring Data JPA.

Get Spring Data now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.