The JMS API Programming Model
The basic building blocks of a JMS application consist of
Administered objects: connection factories and destinations
Connections
Sessions
Message producers
Message consumers
Messages
Figure 33-5 shows how all these objects fit together in a JMS client application.
Figure 33-5. The JMS API Programming Model
This section describes all these objects briefly and provides sample commands and code snippets that show how to create and use the objects. The last subsection briefly describes JMS API exception handling.
Examples that show how to combine all these objects in applications appear in later sections. For more details, ...
Get The J2EE™ Tutorial Second Edition 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.