## Uses of Interface
javax.jms.XAConnection

Packages that use XAConnection
Package | Description
--- | ---
com.sun.messaging | Provides the Oracle GlassFish(tm) Server Message Queue public classes.
javax.jms | The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.

### Uses of XAConnection in com.sun.messaging

Methods in com.sun.messaging that return XAConnection
Modifier and Type | Method and Description
--- | ---
`XAConnection` | XAConnectionFactory.`createXAConnection()` Create an XA connection with default user identity.
`XAConnection` | XAConnectionFactory.`createXAConnection(String username, String password)` Create an XA connection with specified user identity.

### Uses of XAConnection in javax.jms

Subinterfaces of XAConnection in javax.jms
Modifier and Type | Interface and Description
--- | ---
`interface` | `XAQueueConnection` An `XAQueueConnection` provides the same create options as `QueueConnection` (optional).
`interface` | `XATopicConnection` An `XATopicConnection` provides the same create options as `TopicConnection` (optional).

Methods in javax.jms that return XAConnection
Modifier and Type | Method and Description
--- | ---
`XAConnection` | XAConnectionFactory.`createXAConnection()` Creates an `XAConnection` with the default user identity.
`XAConnection` | XAConnectionFactory.`createXAConnection(String userName, String password)` Creates an XA connection with the specified user identity.