Summary

Today you learned about JMS as a unified API to abstract all interfaces and classes to access enterprise messaging requirements. You also learned about JMS architecture, and the two main messaging models supported by JMS: PTP and Pub/Sub. More details were given for the JMS API that supports both messaging models. You explored how to use to use the JMS API to develop JMS clients in both models. You studied the anatomy of a JMS message and explained its constituents. You learned about message types and their usage in enterprise applications. Finally, a brief account of message-driven beans as an asynchronous consumer of messages was given. In Day 14, we'll develop a message-driven bean through a working example.

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.