At 11:23 03.11.00 , you wrote:
>I have looked through the 2.0 spec and find the chapters regarding CMP to
>be daunting.  It appears as though the complexity of writing my own SQL in
>BMP has to be balanced against learning an entire new way of managin
>persistence within the XML deployment descriptors which seems to be no less
>or perhaps even more complicated than BMP????
>
>Or am I missing something with regard to CMP being easier?

yes, two things:

1. your code including the queries is guaranteed to be portable between ejb 
servers and databases (that's the theory)
2. you cannot possibly make optimizations using BMP that the container can 
make using CMP

why do you have to use ejb2.0 CMP? you didn't mention 1.1 cmp as an 
alternative?

regards,

robert

>Thanks,
>
>Cory

(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


Reply via email to