• 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:

Unspecified transaction context + HFE

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

HFE p.499 on unspecified transaction context.
All the methods that are said to run in unspecified context:
1�) any CMT method marked NotSupported, Supports or Never
2�) CMT session bean methods ejbCreate(), ejbRemove(), ejbActivate() and ejbPassivate.
3�) CMT message driven bean methods ejbCreate() and ejbremove().

First remark:
on 2�) why the only mention of CMT. According to the spec, BMT session bean methods ejbCreate(), ejbRemove(), ejbActivate() and ejbPassivate also run in a unsppecifed context.
What about the afterCompletion method in case of CMT stateful bean? It also runs in a unspecifed transaction context.
Second remark:
What about ejbActivate() and ejbPassivate() methods of entity beans that also run in a unspecified context according to spec p.180?

Regards,
Cyril.
[ November 20, 2004: Message edited by: cyril vidal ]
 
Alas, poor Yorick, he knew this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic