## Uses of Interface
javax.jms.Session

Packages that use Session
Package | Description
--- | ---
com.sun.messaging.jms | Provides additional Oracle GlassFish(tm) Server Message Queue classes for features that relate to the MQ implementation of the Java Message Service (JMS).
com.sun.messaging.xml | Provides additional Oracle GlassFish(tm) Server Message Queue classes for features that relate to XML and SOAP messaging.
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 Session in com.sun.messaging.jms

Subinterfaces of Session in com.sun.messaging.jms
Modifier and Type | Interface and Description
--- | ---
`interface` | `Session` MQ JMS Session.

Methods in com.sun.messaging.jms that return Session
Modifier and Type | Method and Description
--- | ---
`Session` | Connection.`createSession(int acknowledgeMode)` Creates a `Session` object.

### Uses of Session in com.sun.messaging.xml

Methods in com.sun.messaging.xml with parameters of type Session
Modifier and Type | Method and Description
--- | ---
`static Message` | MessageTransformer.`SOAPMessageIntoJMSMessage(javax.xml.soap.SOAPMessage soapMessage, Session session)` Transforms a `javax.xml.soap.SOAPMessage` message into a `javax.jms.Message` message.

### Uses of Session in javax.jms

Subinterfaces of Session in javax.jms
Modifier and Type | Interface and Description
--- | ---
`interface` | `QueueSession` A `QueueSession` object provides methods for creating `QueueReceiver`, `QueueSender`, `QueueBrowser`, and `TemporaryQueue` objects.
`interface` | `TopicSession` A `TopicSession` object provides methods for creating `TopicPublisher`, `TopicSubscriber`, and `TemporaryTopic` objects.
`interface` | `XAQueueSession` An `XAQueueSession` provides a regular `QueueSession`, which can be used to create `QueueReceiver`, `QueueSender`, and `QueueBrowser` objects (optional).
`interface` | `XASession` The `XASession` interface extends the capability of `Session` by adding access to a JMS provider's support for the Java Transaction API (JTA) (optional).
`interface` | `XATopicSession` An `XATopicSession` provides a regular `TopicSession`.

Methods in javax.jms that return Session
Modifier and Type | Method and Description
--- | ---
`Session` | XAConnection.`createSession(boolean transacted, int acknowledgeMode)` Creates an `Session` object.
`Session` | Connection.`createSession(boolean transacted, int acknowledgeMode)` Creates a `Session` object.
`Session` | XASession.`getSession()` Gets the session associated with this `XASession`.
`Session` | ServerSession.`getSession()` Return the `ServerSession`'s `Session`.