Depending on the architecture of the application server, these components can directly or indirectly create transactions and operate on the transactional resources. The application manager also provides interfaces for the application server and the application components to operate on the data managed by it. The JTA specification may be classified into three categories of interface as shown in Figure 3 . In a JTS implementation, these are provided by the transaction manager, resource manager and the application components respectively. Transaction is committed.
Transaction is in the process of committing.
There is no transaction associated with the current Transaction , UserTransaction or TransactionManager objects. Voting phase of the two phase commit is over and the transaction is prepared. It is likely that heuristics exists. A transaction exists but its current status can not be determined. The javax.transaction.Transaction , javax.transaction.TransactionManager , and javax.transaction.UserTransaction interfaces provide a getStatus method that returns one of the above status flags.