Sending Messages to Existing Systems
Messaging systems can help you solve some of the woes you experience when you use s ockets. For example, using JMS to send messages, you can send a message as part of a transaction. If you roll the transaction back, you don't send the message.
Many mainframe systems support various types of messaging systems. One of the most popular messaging systems is one called MQSeries, available on IBM systems. IBM even makes a JMS interface for MQSeries so you can use it from an EJB.
Although your message might be part of a transaction, you might still have some problem completing a transaction. For example, suppose you create an application to book a seat on an airline. You create a session bean that stores the reservation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access