A J2EE Application That Uses the JMS API with a Session Bean

This section explains how to write, compile, package, deploy, and run a J2EE application that uses the JMS API in conjunction with a session bean. The application contains the following components:

  • An application client that invokes an enterprise bean

  • A session bean that publishes several messages to a topic

  • A message-driven bean that receives and processes the messages using a durable topic subscriber and a message selector

The section covers the following topics:

  • Writing the application components

  • Creating and packaging the application

  • Deploying the application

  • Running the application client

You will find the source files for this section in the directory <INSTALL>/j2eetutorial14/examples/jms/clientsessionmdb/ ...

Get The J2EE™ Tutorial Second Edition 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.