Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a Stateful session bean's ejbCreate() runs in a meaningful transaction??

 
Kenny Lomax
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
the answer to Question 42 of the HFEJB final exam says that
a Stateful session bean's ejbCreate() runs in a meaningful transaction.

Can someone please confirm this. I thought that was not he case.
Thanks
Kenny
 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look at the EJB Spec(Page 90 Table i think)...it says that ejbCreate() will not run in a meaningful Transaction Context for CMT, the Transaction context begins only after the method afterBegin().

But for a BMT SFSB..you can use getUserTransaction() and invoke its method.

Now,the Question is..what is HFEJB referring to..? BMT or CMT?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic