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 Certification (SCBCD/OCPJBCD)
BMT and stateful session beans
Joined: May 24, 2009
Jul 23, 2010 10:12:51
Is this statement true? I read it in EJB3 in action(page 201, section 6.3.4)
If you are using a stateful session bean and need to maintain a transaction across method calls, BMT is your only option.
I was under the impression that CMT could do this too.
Joined: Jun 25, 2002
Jul 25, 2010 22:53:31
If you don't want client-app(s) to control the transaction boundary by using the
, then BMT is the only way to maintain transaction
across method calls
SCEA | SCBCD | SCWCD | SCJP -
I agree. Here's the link:
subject: BMT and stateful session beans
Transactional Context of Session Beans
Stateless beans and SessionSynchronization
Bean things that can be done in BMT Vs CMT
Bean life cycle cheat sheet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015