aspose file tools*
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 Java 8 in Action this week in the Java 8 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
Author

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
yes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Message-Driven beans with BMT-UserTransaction
 
Similar Threads
ques about message beans
Question Regarding HFE / Bean things you can do within business methods - Page 199
Bean life cycle cheat sheet
Unspecified transaction context + HFE
HFE vs EJB Spec - session beans