Hi Bonnie, ----- Original Message ----- From: "Bonnie MacKellar" <[EMAIL PROTECTED]> To: "OJB Users List (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, August 07, 2003 9:28 PM Subject: behavior persistent objects when broker is closed
> I am using the PB API. If I retrieve some object and then close the broker, > how > does that affect the object? If PB.close() was called, all subsequent method calls (excepting #isClosed()) will cause an exception (since version rc4 or higher). > Lets say that the object references some other > object (via a proxied reference). If I traverse that reference when all > brokers are > closed, what happens? > Normally the proxy knows the PBKey associated with the main object. So if all broker instances are closed the proxy lookup a new PB instance via the PBKey to materialize the real object. regards, Armin > Also, does anyone expose persistent objects in their GUI layer? How do you > deal with stale data? Is there a "best practices" for the integration of > OJB with a GUI layer? > > Bonnie MacKellar > software engineer > Mobius Management Systems, Inc. > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
