O'Reilly logo

Java EE 7 with GlassFish 4 Application Server by David R. Heffelfinger

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 8. The Java Message Service

The Java Message Service (JMS) API provides a mechanism for Java EE applications to send messages to each other. Java EE 7 introduces JMS 2.0, a new version of JMS that greatly simplifies the development of applications involving messaging functionality.

JMS applications do not communicate directly; instead, message producers send messages to a destination, and message consumers receive that message from the destination.

The message destination is a message queue when the Point-to-Point (PTP) messaging domain is used, and a message topic when the Publish/Subscribe (pub/sub) messaging domain is used.

In this chapter, we will cover the following topics:

  • Setting up GlassFish for JMS
  • Working with message queues
  • Working ...

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