Chapter 7. A Simple J2EE Application that Uses the JMS API

This chapter explains how to write, compile, package, deploy, and run a simple J2EE application that uses the JMS API. The application in this chapter uses the following components:

  • An application client that sends several messages to a queue

  • A message-driven bean that asynchronously receives and processes the messages

The chapter covers the following topics:

If you downloaded the tutorial examples as described in the preface, you will find the source code files for this chapter in jms_tutorial/examples/client_mdb (on UNIX systems) or jms_tutorial\examples\client_mdb ...

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.