Part I Development Tasks and Tools
1. Setting Up a Development Environment
3. Using Ant with Enterprise Server
Part II Developing Applications and Application Components
7. Using the Java Persistence API
8. Developing Web Applications
Bean-Level Container-Managed Transaction Timeouts
Priority Based Scheduling of Remote Bean Invocations
About the Session Bean Containers
Session Bean Restrictions and Optimizations
Optimizing Session Bean Performance
Read-Only Bean Characteristics and Life Cycle
Invoking a Transactional Method
Message-Driven Bean Configuration
Connection Factory and Destination
Message-Driven Bean Restrictions and Optimizations
The onMessage Runtime Exception
Handling Transactions With Enterprise Beans
10. Using Container-Managed Persistence
13. Developing Lifecycle Listeners
Part III Using Services and APIs
14. Using the JDBC API for Database Access
15. Using the Transaction Service
16. Using the Java Naming and Directory Interface
This chapter describes how Enterprise JavaBeans (EJB) technology is supported in the Sun GlassFish Enterprise Server. This chapter addresses the following topics:
For general information about enterprise beans, see Part IV, Enterprise Beans, in The Java EE 6 Tutorial, Volume I.
Note - The Web Profile of the Enterprise Server supports the EJB 3.1 Lite specification, which allows enterprise beans within web applications, among other features. The full Enterprise Server supports the entire EJB 3.1 specification. For details, see JSR 318.
The Enterprise Server is backward compatible with 1.1, 2.0, 2.1, and 3.0 enterprise beans. However, to take advantage of version 3.1 features, you should develop new beans as 3.1 enterprise beans.