Hi Ramesh,

1. CMP is much easier to write than BMP as you just need to define
   abstract getter and setters.

        But, If you need TABLE JOINS then BMP is the way.

        For Single Table, CMP is cool.

2. newInstance() - class.forName() loads a new class and newInstance
creates a new instance of this class
         Object newInstance()
          Creates a new instance of the class represented by this Class
object.

3. NESTED TX is not supported at all.

HTH,
Saroj

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]] On Behalf Of Ramesh N
Sent: Friday, September 13, 2002 4:36 PM
To: [EMAIL PROTECTED]
Subject: How to Decide between CMP and BMP.


Hi All,

I have a few Questions

1.How to decide between cmp and bmp.
2.There is no method newInstance() according to spec(if i am right) ,
then
why is it specified as the first method called in and Entity Bean Life
Cycle
3.Does EJB support Transactions based on the underlying Database.Like
Does
EJB support Nested Transaction only if Oracle supports.. Like that.


Thanks in Advance

Ramesh C N

========================================================================
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

**************************Disclaimer**************************************************

 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged'
and 'confidential' and intended for use only by the individual or entity to which it is
addressed. You are notified that any use, copying or dissemination of the information
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************



Reply via email to