Scott Ellis wrote:
>
> 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)

This is an error.

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

This seems to be a bug.

--
Bill Claypool   |       Seeing is believing in the things you see.
[EMAIL PROTECTED]   |         Loving is believing in the ones you love.
1 916 928 6259  |                                       -Margie Adam

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