• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic