O'Reilly logo

Java EE 6 Development with NetBeans 7 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 9. Messaging with JMS and Message Driven Beans

The Java Messaging Service (JMS) is a standard Java EE messaging API that allows loosely coupled, asynchronous communication between Java EE components.

NetBeans includes good support to aid us in creating applications that take advantage of the JMS API, generating a lot of necessary boilerplate code, allowing us to focus on the business logic of our application.

We will cover the following topics in this chapter:

  • Introduction to JMS
  • Creating an enterprise project to take advantage of JMS
  • Creating JMS resources from NetBeans
  • Implementing a JMS message producer
  • Implementing a JMS message consumer
  • Processing JMS messages with message driven Beans

Introduction to JMS

The Java Messaging Service (JMS) is ...

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