aspose file tools
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

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
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