Sun Java System Application Server 9.1 Administration Guide

JMS Resources

The Java Message Service (JMS) API uses two kinds of administered objects:

These objects are created administratively, and how they are created is specific to each implementation of JMS. In the Application Server, perform the following tasks:

JMS applications use the JNDI API to access the connection factory and destination resources. A JMS application normally uses at least one connection factory and at least one destination. To learn what resources to create, study the application or consult with the application developer.

There are three types of connection factories:

There are two kinds of destinations:

The chapters on JMS in the Java EE 5 Tutorial provide details on these two types of communication and other aspects of JMS (see

The order in which the resources are created does not matter.

For a Java EE application, specify connection factory and destination resources in the Application Server deployment descriptors as follows: