Product SiteDocumentation Site

3.2. Opening a resource manager

The X/Open XA interface requires the transaction manager to initialize a resource manager, using method xa_open, before invoking any other of the interface's methods. JTA requires initialization of a resource manager to be embedded within the resource adapter that represents the resource manager. The transaction manager does not need to know how to initialize a resource manager. It only informs the resource manager about when to start and end work associated with a transaction and when to complete the transaction. The resource adapter opens the resource manager when the connection to the resource manager is established.