wood burning stoves*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes BMT and stateful session beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "BMT and stateful session beans" Watch "BMT and stateful session beans" New topic
Author

BMT and stateful session beans

Moses Marfo
Greenhorn

Joined: May 24, 2009
Posts: 27
Hi,

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.

Moses
k space
Ranch Hand

Joined: Jun 25, 2002
Posts: 104
If you don't want client-app(s) to control the transaction boundary by using the UserTransaction, then BMT is the only way to maintain transaction across method calls.


SCEA | SCBCD | SCWCD | SCJP - The kSpace
 
jQuery in Action, 2nd edition
 
subject: BMT and stateful session beans
 
Similar Threads
Remove() question
Bean things that can be done in BMT Vs CMT
Transactional Context of Session Beans
Bean life cycle cheat sheet
Stateless beans and SessionSynchronization