J2EE.6.10 Java Transaction API (JTA) 1.0 Requirements


JTA defines the UserTransaction interface that is used by applications to start and commit or abort transactions. Enterprise beans are expected to get UserTransaction objects through the EJBContext 's getUserTransaction method. Other application components get a UserTransaction object through a JNDI lookup using the name java:comp/UserTransaction .

JTA also defines a number of interfaces that would be used by an application server to communicate with a transaction manager, and for a transaction manager to interact with a resource manager. JTA does not architect any method for acquiring an appropriate TransactionManager object, and this specification does not require any objects implementing that interface to be available from the J2EE platform. Similarly, a J2EE product need not support objects that implement the XAResource interface. A future version of this specification may require support for these application server APIs. Of course, support for other distributed transaction facilities may be provided by the platform, transparently to the application.

The latest JTA 1.0 specification is version 1.0.1 and is available at http://java.sun.com/products/jta.



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