Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMT and stateful session beans

 
Moses Marfo
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic