Added requirement that the Bean Provider must use only the Required, RequiresNew, or Mandatory transaction attributes for methods defined in the home or remote interface of an entity bean with EJB 2.0 container-managed persistence.
Relaxed requirements on transaction attributes for methods of entity beans with container-managed persistence to allow containers to optionally support use of NotSupported, Supports, Never transaction attributes. Added cautions about their use.
From specs, p. 352) :
For entity beans that use EJB 2.0 container-managed persistence, only the Required,
RequiresNew, or Mandatory transaction attributes should be used for the methods defined in the
bean�s component interface and all the direct and indirect superinterfaces of the component interface,
excluding the getEJBHome, getEJBLocalHome, getHandle, getPrimaryKey, and isIdentical
methods; and for the methods defined in the bean�s home interface and all the direct and
indirect superinterfaces of the home interface, excluding the getEJBMetaData and getHomeHandle
methods specific to the remote home interface. Containers may optionally support the use of the
NotSupported, Supports, and Never transaction attributes for the methods of entity beans with
container-managed persistence. However, entity beans with container-managed persistence that use
these transaction attributes will not be portable.
Magnus:
It seems like they came to the conclusion that all transaction attributes should be allowed after all...