Perhaps it could be phrased it is up to the bean developer to keep their
code, Java and SQL, database independent if that is important to them when
using BMP. Of course if you want to leverage your database choice in the
code, e.g. use of Oracle sequences, then CMP will likely fall short, so you
would need to use BMP.
Cheers
-----Original Message-----
From: Ashwani Kalra [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 12:14 AM
To: [EMAIL PROTECTED]
Subject: Re: advantage of BMP
Hi,
When you are going to write the code in EJBLoad method then you are moving
towards the BMP. Since the whole purpose of CMP is to generate the sql
queries by the container itself. Also when you are writing the code , that
will be database dependent.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warm Regards
Ashwani Kalra
Sr. Member Dev. Staff
Aithent Technologies(P) Ltd.
Email : [EMAIL PROTECTED]
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Rein Reezigt
Sent: Thursday, May 17, 2001 7:50 PM
To: [EMAIL PROTECTED]
Subject: advantage of BMP
Hello again,
When looking on the internet to find the advantages and disadvantages of
BMP and CMP, I found an advantage of BMP saying : "the ability to
express complex relationships among data". Isn't this possible in CMP?
The EJB1.1 specs say: the EJBload can be used for perform computations
on the fields that were read by the container. But can't I use it to put
code there that will restore my complex one-to-many / many-to-many
relationships?
Thanks in advance.
Rein Reezigt
student computer science
Hogeschool Enschede, the Netherlands
===========================================================================
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".
===========================================================================
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".