• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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?
 
Liar, liar, pants on fire! refreshing plug:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic