Java Reference
In-Depth Information
Part V: EJBs, Databases, and
Persistence
Chapter List
Chapter 20
: Enterprise JavaBeans
Chapter 21
: Bean-Managed Persistence
Chapter 22
: Container-Managed Persistence
Chapter 23
: Java Data Objects and Persistence
Part Overview
Part V is a discussion of the use databases in the context of J2EE applications using Enterprise
JavaBeans. The first chapter gives a brief overview of Enterprise JavaBeans, including descriptions of:
The three types of Enterprise JavaBeans: session beans, entity beans, and message-driven
beans.
Activation and passivation
Bean-managed persistence and container-managed persistence
Enterprise JavaBean transactions
After reading this chapter, you should have a good understanding of Enterprise JavaBeans and of the
ways they interact with databases.
Subsequent chapters discuss bean-managed persistence and container-managed persistence, with
extensive examples. They include sections on the use of JDBC and SQL in bean-managed persistence
and of the Enterprise JavaBean query language (EJBQL).
The final chapter in Part V covers Java data objects and transparent persistence. This is a new
technology that handles persistence in a manner that is completely transparent to the developer.