Book Image

Java EE 7 Development with NetBeans 8

By : David R Heffelfinger
5 (1)
Book Image

Java EE 7 Development with NetBeans 8

5 (1)
By: David R Heffelfinger

Overview of this book

Table of Contents (18 chapters)
Java EE 7 Development with NetBeans 8
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Messaging with JMS and Message-driven Beans

Java Message 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 most of the JMS-specific code and allowing us to focus on the business logic of our application.

We will cover the following topics in this chapter:

  • Introduction to JMS

  • Creating JMS resources from NetBeans

  • Implementing a JMS message producer

  • Consuming JMS messages with message-driven beans