O'Reilly logo

The Java EE 6 Tutorial: Advanced Topics, Fourth Edition by Ricardo Cervera-Navarro, William Markito, Devika Gollapudi, Ian Evans, Eric Jendrock, Kim Haase, Chinmayee Srivathsa

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 21. 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:

• “Writing Simple JMS Applications” on page 378

• “Writing Robust JMS Applications” on page 406

• “An Application That Uses the JMS API with a Session Bean” on page 416

• “An Application That Uses the JMS API with an Entity” on page 421

• “An Application Example That Consumes Messages from a Remote Server” on page 429

• “An Application Example That Deploys a Message-Driven Bean on Two Servers” on page 436

The examples are in the tut-install/examples/jms/ directory.

The steps to build and run each example are as follows:

1. Use NetBeans IDE or Ant to compile and package ...

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