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.
The order Application
The order
application is a simple inventory and ordering application for maintaining a catalog of parts and placing an itemized order of those parts. It has entities that represent parts, vendors, orders, and line items. These entities ...
Get The Java™ EE 5 Tutorial, Third Edition: For Sun Java System Application Server Platform Edition 9 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.