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
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.
I agree. Here's the link:
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
Difference between container managed entity manager & CMT
Default transaction Attribute value
Transaction Propagation Question ??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015