O'Reilly logo

Enterprise Messaging Using JMS and IBM® WebSphere® by Kareem Yusuf - Ph.D.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Implementing XA Global Transactions

In Chapter 7, scenario 1, we implemented a sender session bean and receiver MDB. The employee data retrieved by the MDB was destined for a system of record; however, since our implementation was focused on the messaging aspects, we simply printed the received data to the server console. In this appendix we extend our implementation to include a system of record implemented by a database. We use a session bean and entity bean to access the database, and configure the interaction such that the retrieval of the message and the update to the database is done as a single global XA transaction.

Development Environment

In order to execute this tutorial, we need to add a database server to our development ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required