Chapter 2. Getting Started with Spring Data JPA

This chapter gives us the basic knowledge that we need to set up a web application project and manage our entities by using Spring Data JPA. In the course of this chapter, we will learn:

  • How to use Maven for downloading the required dependencies
  • How to use programmatic configuration for configuring the Spring application context
  • How to configure our web application to load the Spring application context by using programmatic configuration (without using web.xml)
  • How to implement CRUD (Create, Read, Update, and Delete) functions for an entity class with Spring Data JPA

Downloading dependencies with Maven

This book covers the 1.2.0.RELEASE version of Spring Data JPA, which is the newest available version ...

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.