Use the transaction service
In WAS, transactions are managed by...
- A transaction manager
Supports the enlistment of recoverable XAResources and ensures that each resource of this type is driven to a consistent outcome either at the end of a transaction or after a failure and restart of the appserver.
- A container in which the enterprise application runs
The container manages the enlistment of XAResources on behalf of the application when the application performs updates to transactional resource managers (for example, databases). Optionally, the container can control the demarcation of transactions for enterprise beans configured for container-managed transactions.
- The UserTransaction API
Used by Bean-managed EJBs and servlets to set transaction demarcations.
See...
JTA support includes additional APIs so that application frameworks can manipulate the unit of work (UOW) context of a thread, and components can register with a JTA transaction. For example, a persistence manager can be notified of transaction completion.
See...
- Additional APIs
- Develop components to use transactions
- Set transaction properties for an appserver
- Set transaction properties for peer recovery
- Manage manual peer recovery of the transaction service
- Manage active and prepared transactions
- Manage active and prepared transactions using scripting
- Manage transaction logging for optimum server availability
- Interoperating transactionally between appservers
- Use WS-Transaction policy to coordinate transactions or business activities for Web services
- Troubleshooting transactions
- Use one-phase and two-phase commit resources in the same transaction
- Transaction support in WAS
- Local transaction containment considerations
- Transaction service exceptions
- JTA support
- Use the ActivitySession service