
The J2EE Engine EJB architecture fully implements the Sun Microsystems' Enterprise JavaBeans™ Specification, version 2.0 and is compliant with all previous releases of that specification. The J2EE Engine EJB architecture is integrated with the following services: JMS, JNDI, RMI-IIOP, JTA, JavaMail, JDBC, J2EE Connector Architecture, and Web Services.
The J2EE Engine EJB architecture contains the following components:
EJB Container is the environment where enterprise beans reside. It enables multiple enterprise beans to be deployed on the J2EE Engine and makes them accessible through the JNDI. The EJB Container provides the deployed beans with services such as persistence, transaction handling, pooling, security, exception handling and so on. At runtime the EJB Container creates instances of the bean class, that is bean instances, and manages their life cycle.
Session and Entity EJB Container
The EJB Container provides tools for code generation that are used at deploy time. These tools generate the implementations of the enterprise beans' home and component interfaces. These generated classes intercept client calls, provide security and transaction management, and delegate the calls to the bean instances (that is, instances of the bean class) that contain the implementation of the business methods.
Session and Entity EJB Container
Message-Driven EJB Container
The Message-Driven EJB Container delegates JMS messages to message-driven bean instances. The bean instances' lifetime is managed by the EJB Container and their existence is completely hidden for the client. The message-driven bean serves as a JMS message consumer and all instances of a message-driven bean class, which reside in the EJB Container, are identical if they are not involved in processing a JMS message.
Message-Driven EJB Container
The Persistence Manager is part of the J2EE Engine EJB architecture that manages the persistent data of the container-managed entity beans deployed on the J2EE Engine. It provides transparent object persistence - it binds the container-managed entity beans to the database entities/records they represent and automatically synchronizes their state. Applications deal with their container-managed entity beans just like they deal with simple Java objects. However, all updates of the persistent data will be reflected in the data store, too.
The Persistence Manager in the J2EE Engine EJB Architecture
The Persistence Manager provides the following functions to container-managed entity beans: