In this chapter, we will discuss how to configure Java Message Service (JMS) resources in GlassFish. We will begin the chapter with an overview of message systems and the support of JMS on GlassFish. We will then discuss how to configure two popular open source JMS service providers, the Open Message Queue (Open MQ) and Apache ActiveMQ.
Message-based solutions are playing an increasingly important role nowadays, as more and more systems need to be integrated together and need to communicate with each other in a loosely-coupled manner. In this section, we briefly introduce the core concepts of messaging system and the JMS standard, and then describe how GlassFish supports JMS resources.