Java EE Examples Using the JMS API

This chapter provides examples that show how to use the JMS API within a Java EE application in the following ways:

The examples are in the following directory:


To build and run the examples, you will do the following:

  1. Use the Ant tool to compile and package the example
  2. Use the Ant tool to create resources
  3. Use the Ant tool to deploy the example
  4. Use the appclient command to run the client?

Each example has a build.xml file that refers to files in the following directory:


See Chapter 23 for a simpler example of a Java EE application that uses the JMS API.