Xid
Xid is an interface in Java that represents a global transaction identifier used in distributed transaction processing, notably under the X/Open XA standard and the Java Transaction API (JTA). It provides a way for a transaction manager to identify and coordinate a global transaction and its constituent branches across multiple resource managers such as databases and messaging systems.
A Xid consists of three components: a format identifier, a global transaction identifier (GTRID), and a branch
Usage of Xid occurs when resource managers interact with the transaction manager via the XAResource interface.
Implementation considerations: many transaction managers provide concrete Xid implementations. Applications typically obtain Xids from the transaction
See also: JTA, X/Open XA, XAResource, javax.transaction.xa.Xid.