You implement the same interface regardless of whether you use BMP or CMP.

Stefan

____________________________________________________________________
Stefan Tilkov -- stefan(dot)tilkov(at)innoq(dot)com -- www.innoQ.com


> -----Ursprungliche Nachricht-----
> Von: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Shiv Kumar
> Gesendet: Montag, 21. August 2000 10:33
> An: [EMAIL PROTECTED]
> Betreff: ejbCreate() prototype
>
>
> Section 9.4.2 of EJB 1.1 spec (Entity beans with CMP) :
>
>      The ejbCreate(...) methods must be defined to return the primary key
>      class type. The implementation of the ejbCreate(...) methods
> should be
>      coded to return a null. The returned value is ignored by the
>      Container.
>
> My question : If the container ignores the return value, why does
> the method
> prototype require a return type?
>
> TIA.
> --
> shiv
> [EMAIL PROTECTED]
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ==================================================================
> =========
> 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