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

Introduction to JMS


JMS is a standard Java EE API that allows loosely coupled, asynchronous communication between Java EE components. Applications that take advantage of JMS do not interact with each other directly; instead, JMS message producers send messages to a destination (JMS queue or topic) and JMS consumers receive messages from those destinations.

There are two messaging domains that can be used when working with JMS: point-to-point (PTP) messaging, in which a JMS message is processed by only one message receiver, and publish/subscribe (pub/sub) messaging, in which all message receivers subscribed to a specific topic receive and process each message for said topic. JMS applications that use the PTP messaging domains use message queues as their JMS destinations, whereas applications that use pub/sub use message topics.