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
JMS is a standard Java EE 5 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 message destination (JMS Queue or Topic), and JMS message
consumers receive messages from said destinations.
Search WWH ::




Custom Search