James Cook wrote:
> Create your initial context in the setSessionContext() or setEntityContext()
> method within your bean. Do it only once, and store the reference in a
> member variable of the class. Reuse it when necessary.

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?

Cheers,
Laird

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