Chapter 17
Running the Persistence Examples
This chapter describes how to use the Java Persistence API in different example applications. The material here focuses on the source code and settings of three examples. The first example called order is an application that uses a stateful session bean to manage entities related to an ordering system. The second example is roster, an application that manages a community sports system. The third example is a version of the bookstore web application that shows how to use application-managed transactions when using the Java Persistence API. This chapter assumes that you are familiar with the concepts detailed in Chapter 16, Introduction to the Java Persistence API.


