The Java EE 5 Tutorial

Chapter 26

Persistence in the EJB Tier

This chapter describes how to use the Java Persistence API from enterprise beans.
The material here focuses on the source code and settings of two
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. This chapter assumes that
you are familiar with the concepts detailed in Chapter 24, Introduction to the Java Persistence API.