The Java Message Service (JMS) API is a messaging standard that allows Java EE applications and components, including message-driven beans (MDBs), to create, send, receive, and read messages. It enables distributed communication that is loosely coupled, reliable, and asynchronous.
GlassFish Server supports JMS messaging by communicating with a JMS provider through a Java EE Connector resource adapter. By default, GlassFish Server provides JMS messaging through its built-in jmsra resource adapter communicating with GlassFish Server Message Queue, which is included with GlassFish Server. This combination, known as the JMS Service, is tightly integrated with GlassFish Server, providing a rich set of asadmin subcommands and Administration Console pages to simplify JMS messaging administration tasks.
GlassFish Server also supports the Generic Resource Adapter for JMS (GenericJMSRA), available as an Add-On in the Administration Console's Update Tool, for use as a resource adapter to connect to other JMS providers. The last section in this chapter, Using the Generic Resource Adapter for JMS to Integrate Supported External JMS Providers, describes the GenericJMSRA and provides instructions for using it to make other supported JMS providers available to GlassFish Server.
The following topics are addressed here:
Instructions for accomplishing the task in this chapter by using the Administration Console are contained in the Administration Console online help.