The spec specifies flat transactions, but some app servers support
nested transactions(Orion is one of them).

Juan Pablo Lorandi
Chief Software Architect
Code Foundry Ltd.
[EMAIL PROTECTED]

Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050  Fax: +353-1-6012051
Mobile: +353-86-2157900
www.codefoundry.com


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]] On Behalf Of Saroj Kumar
> Sent: Friday, September 13, 2002 1:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to Decide between CMP and BMP.
>
>
> 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".

===========================================================================
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".

Reply via email to