© Peter Späth 2019
P. SpäthBeginning Jakarta EEhttps://doi.org/10.1007/978-1-4842-5079-2_9

9. Messaging with JMS

Peter Späth1 
(1)
Leipzig, Sachsen, Germany
 

Messaging allows components from one or more applications running on one or more servers in possibly different network nodes to communicate in a loosely coupled way. This means that the senders and receivers don’t have to know about each other—there must just be a common understanding about message format and content. In addition, the message processing happens asynchronously, which means senders and receivers don’t have to be available at the same time, and the sender is not forced to wait until a message reaches its destination.

In Jakarta EE 8, messaging gets handled by the JMS (Java Messaging ...

Get Beginning Jakarta EE: Enterprise Edition for Java: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.