Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMT for EB why not?

 
Alfred Harre
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why can we not use BMT or EB?
Does it has to do something with ejbLoad() and ejbStore() method?

Any ideas?
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the past (EJB 1.1), EB can be implemented by either BMP and CMP. At that time, as the containers were not good enough, and not that reliable, people tend to use BMP, which manage transactions by themselves.

Nowadays, as the containers improved a lot, CMP will be more reliable, and the containers will manage all transactions with DB. Thus, in EJB 2.0 specification, BMP is no longer allowed in ET becos the transaction services is provided by the containers, and they really did a cool management job on this area. BMP is still allow for SB, but usually, people will reliable on the containers' services.

Nick
 
Keerthi P
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link has some information on using BMT for entity beans.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic