File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

BMT and stateful session beans

Moses Marfo

Joined: May 24, 2009
Posts: 27

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.

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
I agree. Here's the link:
subject: BMT and stateful session beans
jQuery in Action, 3rd edition