Ce contenu n'est pas disponible dans la langue sélectionnée.
1.3. Demarcing Transactions
The JBossJTA API consists of three elements:
- A high-level application transaction demarcation interface
- A high-level transaction manager interface intended for application server
- and a standard Java mapping of the X/Open XA protocol intended for transactional resource manager
All of the JTA classes and interfaces are located in the javax.transaction package, and the corresponding JBossJTA implementations in the com.arjuna.ats.jta package.
1.3.1. UserTransaction Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
The
UserTransaction interface allows applications to control transaction boundaries.
You can obtain
UserTransaction implementations via JNDI.
Example 1.2. Controlling Transactions