EJB.C.11 Changes Since EJB 1.1 Public Release


Fixed an error in Section EJB.15.2.5. The getCallerPrincipal and isCallerInRole functions, when called in an inappropriate context, must throw the java.lang.IllegalStateException , not the javax.ejb.EJBException .

Fixed the omission of a requirement in Section EJB.9.4.1. The container-managed fields must be declared as public fields in the enterprise bean class. This requirement was present in the EJB 1.0 specification, and it was inadvertently left out when the sections on container-managed persistence were reorganized during the EJB 1.1 specification process.

Made it clear in Section EJB.6.4.1 that an instance is allowed to retain across passivation references to enterprise beans' remote and home interfaces, references to the SessionContext object, references to the java:comp/env JNDI API context and its subcontexts, and references to the UserTransaction anywhere in the instances conversational state (i.e., not only directly in the fields of the session bean class). For example, it is possible to retain a collection of remote interfaces in the conversational state.

Changed the version numbers in the DOCTYPE specification in the deployment descriptor from 1.2 to 1.1. The correct DOCTYPE specification is:

 <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.  //DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"> 

Clarified in Sections EJB.5.5 and EJB.8.7 that handles are not capabilities in the security sense.

Replaced the term resource factory reference with the term resource manager connection factory reference . This change makes the terminology consistent with other J2EE specs .

Added a missing entry to Table EJB.18-2 for checkLink .

Clarified in Section EJB.16.5 that the DTD XML elements' content is case sensitive.

Fixed a few typos in the text.



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