Java Reference
In-Depth Information
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 a standard Java EE API that allows loosely
coupled, asynchronous communication between Java EE components. Applications
taking advantage of JMS do not interact directly with each other, instead JMS
message producers send messages to a destination (JMS Queue or Topic), and JMS
consumers receive messages from the said destinations.
Search WWH ::




Custom Search