• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

BMT for EB why not?

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This link has some information on using BMT for entity beans.
 
reply
    Bookmark Topic Watch Topic
  • New Topic