A possibly simpler solution is to use http communication to do this.
When the cached data are changed and saved in one app instance, send a http
request to a InstanceSyn WOApp. InstanceSyn WOApp on receiving the request
will read the WebObjects.conf to find out information of the available
applicaiton instances (e.g. instance number) and then send a http request to
all the application instances to ask them to invalidateAllObjects (or
invalidate a particular object with globalID).
I also find it necessary to implement the InstanceSyn WOApp as
multi-threaded so that one thread will return a respones immediatley (not
blocking the calling WOApp), and the other thread happily go away to read
the .config file to send http request to each app instance.
Hope this helps.
W.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Kevin Hinde
> Sent: Thursday, March 18, 1999 3:51 AM
> To: Multiple recipients of list
> Subject: Re: Synchronizing Data between Load Balanced Instances
>
>
> At 12:54 PM 3/17/99 -0800, Bill Bumgarner wrote:
> >
> >Have you tried the distributed notification center??? It was
> designed to
> >allow applications notify each other in just such a case as this.
>
> Is there a reasonably straightforward way to do this without the
> notification centre? For example, for those clients who are
> unwilling/unable to upgrade from WO3.x?
>
> (an answer to this would make an excellent recipe for the cookbook. those
> damn cached snapshots have been plagueing me for some time now)
>
> Regards
> Kevin.
>