9. Running the Persistence Examples
This chapter explains how to use the Java Persistence API. The material here focuses on the source code and settings of three examples. The first example, order
, is an application that uses a stateful session bean to manage entities related to an ordering system. The second example, roster
, is an application that manages a community sports system. The third example, address-book
, is a web application that stores contact data. This chapter assumes that you are familiar with the concepts detailed in Chapter 8, “Introduction to the Java Persistence API.”
The following topics are addressed here:
Get The Java EE 7 Tutorial, Volume 2, Fifth Edition 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.