nterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Laird Nelson
> That ensures that bad things won't happen during passivation, right? I
> assume (I don't recall, but it would make sense) that you get an
> unsetEntityContext() call right before passivation and a
> setEntityContext() call just after activation, yes?
>
No, set and unset are *not* called in relation to passivation.
javax.naming.InitialContext is not serializable. Therefore you will have to
get a reference to it in setXXXContext() *and* ejbActivate().
I believe this is accurate. Can anyone think of other situations when this
wouldn't suffice?
jim
===========================================================================
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".