Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Message-Driven beans with BMT-UserTransaction

 
Karin Paola Illuminate
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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()?
 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic