Java Message Service Examples
This chapter provides examples that show how to use the JMS API in various kinds of Java EE applications. It covers the following topics:
The examples are in the tut-install/examples/jms/ directory.
The steps to build and run each example are as follows:
Use NetBeans IDE or Ant to compile and package the example.
Use NetBeans IDE or Ant to deploy the example and create resources for it.
Use NetBeans IDE, the appclient command, or Ant to run the client.
Each example has a build.xml file that refers to files in the tut-install/examples/bp-project/ directory.
Each example has a setup/glassfish-resources.xml file that is used to create resources for the example.
See Chapter 25, A Message-Driven Bean Example for a simpler example of a Java EE application that uses the JMS API.