The Java EE 6 Tutorial

simplemessage Example Application Overview

The simplemessage application has the following components:

Figure 17–1 illustrates the structure of this application. The application client sends messages to the queue, which was created administratively using the Administration Console. The JMS provider (in this case, the GlassFish Server) delivers the messages to the instances of the message-driven bean, which then processes the messages.

Figure 17–1 The simplemessage Application

Diagram of application showing an application client
sending a message to a queue, and the message being delivered to a message-driven

The source code for this application is in the tut-install/examples/ejb/simplemessage/ directory.