Understanding JMS Architecture

The JMS API is an abstraction of the interfaces and classes that JMS clients use to handle messages when in communication with a JMS provider. This is analogous to the use of JDBC as a unified API to access data sources, as you learned on Day 9, “Using JDBC to Connect to a Database,” or JNDI to access naming and directory services, as you learned on Day 4, “Using JNDI for Naming Services and Components.” JMS is not a messaging system by itself; it's an API to access an existing messaging system. The JMS architecture is best illustrated by Figure 13.1.

Figure 13.1. JMS architecture.

Figure 13.1 depicts all the layers ...

Get Sams Teach Yourself EJB in 21 Days 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.