EJB.C.1 Changes Since Release 0.8


Removed java.ejb.BeanPermission from the API. This file was incorrectly included in the 0.8 specification.

Renamed packages to java.ejb and javax.ejb.deployment . The Enterprise JavaBeans API is packaged as a standard extension, and standard extensions should be prefixed with javax . Also renamed java.jts to javax.jts .

Made clear that a container can support multiple EJB classes. We renamed the javax.ejb.Container to javax.ejb.EJBHome. Some reviewers pointed out that the use of the term "container" for the interface that describes the life cycle operations of an EJB class as seen by a client was confusing.

Folded the factory and finder methods into the enterprise bean's home interface . This reduces the number of Java classes per EJB class and the number of round-trips between a client and the container required to create or find an EJB object. It also simplifies the client-view API.

Removed the PINNED mode of a session bean. Many reviewers considered this mode to be "dangerous" since it could prevent the container from efficiently managing its memory resources.

Clarified the life cycle of a stateless session bean.

Added a chapter with the specification for exception handling.

We have renamed the contract between a component and its container to component contract . The previously used term container contract confused several reviewers.

Added description of finder methods.

Modified the entity create protocol by breaking the ejbCreate method into two: ejbCreate and ejbPostCreate . This provides a cleaner separation of the discrete steps involved in creating an entity in a database and its associated middle- tier object.

Added more clarification to the description of the entity component protocol.

Added more information about the responsibilities of the enterprise bean provider and container provider.

Renamed SessionSynchronization.beginTransaction() to SessionSynchronization.afterBegin() to avoid confusion with UserTransaction.begin() .

Added the specification of isolation levels for container-managed entity beans.



Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net