Day 9. Java Message Service
So far, you have learned about two types of EJB—Entity Beans and Session Beans. Before introducing you to the third type—Message Beans (to be covered on Day 10, “Message-Driven Beans”), we will look at the purpose and use of messaging within enterprise applications, the Java Message Service's API (JMS), and its place within J2EE.
Today you will learn the following:
The different JMS message domains: point-to-point and publish/subscribe
How to use the JMS API to send point-to-point messages and receive then both synchronously and asynchronously
How to publish messages and subscribe to message topics
How to set message persistence and create transacted messages to improve data reliability and program integrity
Get Sams Teach Yourself J2EE™ in 21 Days, 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.