Re: How to implement JGroupsChangeNotification
Re: How to implement JGroupsChangeNotification
- Subject: Re: How to implement JGroupsChangeNotification
- From: Lachlan Deck <email@hidden>
- Date: Mon, 15 Sep 2008 10:05:22 +1000
Hi Mike,
On 12/09/2008, at 2:27 PM, Mike Schrag wrote:
Roughly from one of our apps:
er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1
er.extensions.remoteSynchronizer.enabled=true
er.extensions.remoteSynchronizer=er.jgroups.ERJGroupsSynchronizer
er.extensions.jgroupsSynchronizer.multicastAddress=230.0.0.4
er.extensions.jgroupsSynchronizer.multicastPort=4322
er.extensions.jgroupsSynchronizer.groupName=SomeApp
You have to be fully using Wonder here, so all your editing contexts
need to be ERXEC.newEditingContext()'s not new EOEditingContext.
Other than that, things should just work.
+ jgroups itself
That's nice and easy (+ listening for
EOObjectStore.ObjectsChangedInStoreNotification for any extra logic)
Thanks.
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden