File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
EJB and other Java EE Technologies
What is the scope of the transaction if method is bean managed and container managed?
Joined: Jun 13, 2011
Jun 13, 2011 11:18:16
Can any one please tell
What is the scope of the transaction if method is bean managed and
Joined: Jul 13, 2010
Jun 14, 2011 03:12:57
As far as I know:
BMT - you can explicitely say what are the boundaries of the transaction because you start and commit the transaction by yourself (as a bean provider),
CMT - one method = one transaction.
I think (anyone please correct me if I'm wrong) that you also can span your transaction across multiple method callas if you use SFSB.
Hope that helps.
OCP Java SE 6 Programmer, OCM Java SE 6 Developer, OCE Java EE 6 JSPSD, OCE Java EE 6 EJBD, OCE Java EE 6 JPAD, Spring 3.0 Core Professional.
It is sorta covered in the
JavaRanch Style Guide
subject: What is the scope of the transaction if method is bean managed and container managed?
Issues with Oracle connection/statement when accessing through JDBC
Transaction Propagation Question ??
Default transaction Attribute value
Difference between container managed entity manager & CMT
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014