Cloud Tutorial – JPA in a Day

Marcus Schiesser and Martin Schmollinger

Learn how to persist your web app's data using the Java Persistence API

This Cloud Tutorial is the third of a series building a web application with Java EE. It will see us implement the object-relational mapping of our data to a data base.


Book Description

The Java Persistence API is the Java standard for object-relational mapping. Version 2.1 of the Java Persistence API (JPA) was included in Java EE 7 for persisting entities in a database. JPA enables us to store instances of entity classes in a relational database and re-trieve them from the database at a later date. In the following Cloud Tutorial we’ ll introduce and apply the basic concepts to a sample web application.