Java Platform, Enterprise Edition (Java EE) 8
The Java EE Tutorial
This chapter provides examples that show how to use the JMS API in various kinds of Java EE applications.
The following topics are addressed here:
Sending and Receiving Messages Using a Simple Web Application
Receiving Messages Asynchronously Using a Message-Driven Bean