1. Use bmp if you want to manage persistence and relationships yourself.
CMP/CMR in 2.0 is more manageable ( less code ) than BMP/DAO.
2. Container uses Class.newInstance() to create new Bean object.
3. From what I have read in the spec, Container transaction management
has nothing to do with how resource managers ( database, ERP etc )
support transactions. Someone can correct me on this if I am wrong.

-- padhu



Ramesh N wrote:

>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