File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes BMT for EB why not? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "BMT for EB why not?" Watch "BMT for EB why not?" New topic
Author

BMT for EB why not?

Alfred Harre
Ranch Hand

Joined: Apr 29, 2004
Posts: 73
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

Joined: Nov 07, 2003
Posts: 4982
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


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Keerthi P
Ranch Hand

Joined: Aug 19, 2003
Posts: 203
This link has some information on using BMT for entity beans.


Cheers.<br />Keerthi<br />(SCJP, SCWCD, SCBCD)
 
 
subject: BMT for EB why not?
 
Similar Threads
a mock question about transcation
About BMT
Why entity beans cannot be coded as BMT?
Entity Beans and Bean Managed Transactions
passed part1 85% part2 88%, thanks all!