Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Message-Driven beans with BMT-UserTransaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Message-Driven beans with BMT-UserTransaction" Watch "Message-Driven beans with BMT-UserTransaction" New topic

Message-Driven beans with BMT-UserTransaction

Karin Paola Illuminate
Ranch Hand

Joined: Oct 18, 2002
Posts: 109
HFE, p 487 says "Everything in UserTransaction is for BTM beans ONLY!" (begin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeout). HFE, p. 508 says "BMT is used by session beans and message-driven beans".

Does this mean that message-driven beans with BMT are allowed to call javax.ejb.EJBContext.getUserTransaction()?

I not only use all the brains that I have, but all that I can borrow. [Laurence J. Peter]
yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
I agree. Here's the link:
subject: Message-Driven beans with BMT-UserTransaction