WS-AT Transaction abstraction to enable the enlistment of volatile and durable Partipants.
How to get an ATTransaction.
@Resource(name="java:/comp/wsatTxnMgr", type=javax.transaction.TransactionManager.class )
javax.transaction.TransactionManager wsatTxnMgr;
//In the scope of a wsat transaction, perform the following:
ATTransaction atTxn = (ATTransaction)wsatTxnMgr.getTransaction();
|