Package javax.transaction

Provides the API that defines the contract between the transaction manager and the various parties involved in a distributed transaction namely : resource manager, application, and application server.

See:
          Description

Interface Summary
Status The Status interface defines the static variable for transaction status code.
Synchronization The transaction manager supports a synchronization mechanism that allows the interested party to be notified before and after the transaction completes.
Transaction The Transaction interface allows operations to be performed against the transaction in the target Transactioin object.
TransactionManager The TransactionManager interface defines the methods that allow an application server to manage transaction boundaries.
UserTransaction The UserTransaction interface defines the methods that allow an application to explicitly manage transaction boundaries.
 

Exception Summary
HeuristicCommitException This exception is thrown by the rollback operation on a resource to report that a heuristic decision was made and that all relevant updates have been committed.
HeuristicMixedException This exception is thrown to report that a heuristic decision was made and that some relevant updates have been committed and others have been rolled back.
HeuristicRollbackException This exception is thrown by the commit operation to report that a heuristic decision was made and that all relevant updates have been rolled back.
InvalidTransactionException This exception indicates that the request carried an invalid transaction context.
NotSupportedException NotSupportedException exception indicates that the request cannot be executed because the operation is not a supported feature.
RollbackException RollbackException exception is thrown when the transaction has been marked for rollback only or the transaction has been rolled back instead of committed.
SystemException The SystemException is thrown by the transaction manager to indicate that it has encountered an unexpected error condition that prevents future transaction services from proceeding.
TransactionRequiredException This exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
TransactionRolledbackException This exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
 

Package javax.transaction Description

Provides the API that defines the contract between the transaction manager and the various parties involved in a distributed transaction namely : resource manager, application, and application server. The implementation of this API is provided by the application server vendor and the resource manager driver vendor.