• 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: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link has some information on using BMT for entity beans.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!