This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

BMT for EB why not?

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