Hey

nops nops wrote:
> What happens when a container passivates a bean and that bean instance holds
> object refrences to other beans or non bean objects. The container stores
> object refrences with the passivated instance.
> These object refrences must be restored before EJB activate is called
> but what is the gaurentee that the undelying object still exists.
>
> Examaple: DemoBean has a refrence to a NonBean object. DemoBean is
> passivated and stores the refrence and before activation recontructs
> refrence to NonBean object. But is the NonBean object still there??

That is something that you will have to determine during ejbLoad or
ejbActivate. There is no guarantee that it will still be there (of
course).

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

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