BEA WebLogic Server™ 8.1 Unleashed
by Mark Artiges, Gupreet Singh Bhasin, Bernard Ciconte, Malcolm Garland, Saranathan Govindarajan, James Huang, Subramanian Kovilmadam, Kunal Mittal, Paul J. Perrone, Tom Schwenk, Steve Steffen
Global Auctions Use of JTA
In the Global Auctions application, the ProcessBidMDB is the component used to process customers' bids. The MDB processes JMS messages received asynchronously, and notifications are returned to the user via an email sent through the AuctionMailServlet. The ProcessBidMDB can be used to read current bid information on an item, set a current bid, and close the bidding when the auction deadline has been met. Many different actors concurrently use the bean to read and update bid information on their item. This makes the ProcessBidMDB a good candidate for transaction management.
In this section, we'll configure the ProcessBidMDB to participate in a container-managed transaction. All that is required to configure the component ...
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