This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Message-Driven beans with BMT-UserTransaction
 
Similar Threads
Question Regarding HFE / Bean things you can do within business methods - Page 199
ques about message beans
Unspecified transaction context + HFE
HFE vs EJB Spec - session beans
Bean life cycle cheat sheet