This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Unspecified transaction context + HFE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Unspecified transaction context + HFE" Watch "Unspecified transaction context + HFE" New topic
Author

Unspecified transaction context + HFE

cyril vidal
Greenhorn

Joined: Nov 02, 2004
Posts: 14
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unspecified transaction context + HFE
 
Similar Threads
StateFul ejbCreate
Doubt about transaction context in statefull session Bean
questions?
"Unspecified Transaction Context"
Couple of doubts in Session Bean