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
18.218.93.169