Jonathan Baker wrote:
>
> I agree completely.
>
> Since the findXXX() method is not a business method in the instance, there
> is no need to call ejbLoad().
>
> In this case, the bean from the instance pool is acting as a factory
> object.  Factory objects are not acting as individual business entities,
> therefore they do not have primary keys.  The lack of a primary key would
> invalidate the call to ejbLoad(), since the specification does say that the
> primary key will exist when that method is called.
ejbLoad() is not required after ejbFindXXX but after ejbActivate(). THe
instance used for ejbFind() (Factory) must also not be the one used for
ejbActivate(). But after ejbActivate(), the bean's state need be
initialized atleast once before the first business method.

/Francis
--
[EMAIL PROTECTED]

MATHEMA Software GmbH
N�gelsbachstra�e 25 b
91052 E r l a n g e n
D e u t s c h l a n d
Tel +49(0)9131/8903-0
Fax +49(0)9131/8903-55
http://www.mathema.de

===========================================================================
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