Product SiteDocumentation Site

2.2. Introducing the API

The Java Transaction API consists of three elements:
All of the JTA classes and interfaces exist within the javax.transaction package, and the corresponding JBoss Transactions implementations within the com.arjuna.ats.jta package.
Each Xid created by JBoss Transactions needs a unique node identifier encoded within it, because JBoss Transactions can only recover transactions and states that match a specified node identifier. The node identifier to use should be provided to JBoss Transactions via the CoreEnvironmentBean.nodeIdentifier property. This value must be unique across your JBoss Transactions instances. The identifier is alphanumeric and limited to 10 bytes in length. If you do not provide a value, then JBoss Transactions generates one and reports the value via the logging infrastructure.