----- Original Message -----
From: Scott Ellis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, 18 January 2000 7:55
Subject: Pooled to Ready state during ejbFindXXX
> How does an entity bean move from the Pooled to the Ready state in the
case
> of an ejbFindXXX ?
>
> According to the 1.1 spec (section 9.1.4), an entity bean may move from
the
> Pooled to the Ready state in only 2 ways:
>
> 1. ejbCreate(args) , ejbPostCreate(args)
> 2. ejbActivate()
>
> Since calling ejbCreate() on a bean you just found would result in an
> exception, ejbActivate() seems like the only possibility.
>
> However, accorcding to Richard Monson-Haefel "Activation presumes that the
> bean has previously been passivated." (Enterprise JavaBeans p. 169)
>
> The beans resulting from a find have not necessarily ever been passivated,
> and my testing shows that ejbActivate() is never called by the container.
> (JOnAS in this case)
>
Container could delay the activation till you invoke a business method on
the bean.
MK
===========================================================================
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".