Hi,

IMHO, the primary objective of ejbFind... is to validate the existence of
the data entity corresponding to the key and return the key back (else throw
a FinderException). And it is ideal to leave the job of setting the instance
variables to ejbLoad (because I feel thats what ejbLoad is for!).

Regards,

Durgaprasad


>
>With BMP, what exactly is the ejbFindByPrimaryKey method supposed to do? I
>have seen some examples in which the findByPrimaryKey loads all of the
>instance variables. But I've seen other example in which the
>findByPrimaryKey method simple looks up the primarykey.
>
>Q1: Which is preferred?
>Q2: What is the reasoning behind a findPrimaryKey that does nothing but use
>the primaryKey to lookup the primaryKey?
>
>
>Dave Ford
>
>===========================================================================
>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".
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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".

Reply via email to