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.
That is how we interpret the spec.
> However, accorcding to Richard Monson-Haefel "Activation presumes that the
> bean has previously been passivated." (Enterprise JavaBeans p. 169)
That is correct in respect of session beans, but incorrect in respect of
entity beans.
> 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)
>
> What's going on here? Thanks
JOnAS is broken!
________________________________________________________________________________
Evan Ireland Sybase EA Server Engineering [EMAIL PROTECTED]
Wellington - New Zealand +64 4 934-5856
===========================================================================
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".