|
|
| |
Java Transaction API and BEA WebLogic Extensions
The following sections provide a brief overview of the Java Transaction API (JTA) and extensions to the API provided by BEA Systems.
JTA API Overview
WebLogic Server supports the javax.transaction package and the javax.transaction.xa package, from Sun Microsystems, Inc., which implement the Java Transaction API (JTA) for Java applications. For more information about JTA, see the Java Transaction API (JTA) Specification (version 1.0.1) published by Sun Microsystems, Inc. For a detailed description of the javax.transaction and javax.transaction.xa interfaces, see the JTA Javadoc:
JTA includes the following components:
BEA WebLogic Extensions to JTA
Extensions to the Java Transactions API are provided where the JTA specification does not cover implementation details and where additional capabilities are required.
BEA WebLogic provides the following capabilities based on interpretations of the JTA specification:
Note: A suspended transaction must be resumed in the same server process in which it was suspended.
BEA WebLogic provides the following classes and interfaces as extensions to JTA:
This class preserves the original reason for a rollback for use in more comprehensive exception information.
The WebLogic JTA transaction manager object supports this interface, which allows XA resources to register and unregister themselves with the transaction manager on startup. It also allows a transaction to be resumed after suspension.
This interface includes the following methods:
The WebLogic JTA transaction object supports this interface, which allows users to get and set transaction properties.
This interface includes the following methods:
This class allows you to obtain the current transaction manager and transaction.
This interface includes the following static methods:
This class provides delistment capabilities for XA resources.
This interface includes the following method:
For a detailed description of the WebLogic extensions to the javax.transaction and javax.transaction.xa interfaces, see the weblogic.transaction package description.
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|