O'Reilly logo

The Java™ EE 5 Tutorial, Third Edition: For Sun Java System Application Server Platform Edition 9 by Kim Haase, Scott Fordin, Ian Evans, Debbie Carson, Jennifer Ball, Eric Jendrock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 32. 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:

  • Using a session bean to send messages that are consumed by a message-driven bean using a message selector and a durable subscription

  • Using an application client to send messages that are consumed by two message-driven beans; the information from them is stored in a Java Persistence API entity

  • Using an application client to send messages that are consumed by a message-driven bean on a remote server

  • Using an application client to send messages that are consumed by message-driven beans on two different servers

The examples are in the following directory:

   <INSTALL>/javaeetutorial5/examples/jms/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required