Re: inter-instance communication ?
Re: inter-instance communication ?
- Subject: Re: inter-instance communication ?
- From: "John Bruce" <email@hidden>
- Date: Tue, 23 Sep 2008 11:06:35 +0100
Hi Gavin,
I've also used Shoal ( https://shoal.dev.java.net/ ) which is a Java
library for group communication. It uses JXTA by default but can also
use JGroups. I have used it as a replacement for JGroups EOF syncing
but you can also easily use it for sending notifications to members of
the group easily. It also has an easy way to select a group leader -
well easier than straight JGroups in my opinion. I find the main
benefit of this kind of group messaging is that it is easily
embeddable into the woa and simple to deploy. However you don't get
all the extra functionality of a proper messaging setup as you would
with use a JMS server. So really depends on your needs.
Cheers,
John
On Sun, Sep 21, 2008 at 11:54 PM, Andrew Lindesay <email@hidden> wrote:
> Hello Gavin;
>
> (Shifted back to WebObjects-Dev as I presume you mean to target this list)
>
> I use a messaging server (using J2EE's JMS interfaces) that has a topic
> configured for this purpose. You can use the free ActiveMQ to develop with,
> but I would tend to go for something commercial for any serious deployments.
> What I tend to do is to fire JSON-RPC messages into the queue and have them
> invoke on all the instances in the deployment. This works well for me.
>
> cheers.
>
>> I have a need to communicate small amounts of data between application
>> instances (some on the same machine, some on others), enough for them to
>> make a shared decision about which one is going to be 'master'. I looked at
>> the Wonder default and jGroups implementations of remote notifications, but
>> I believe that they have the goal of sync'ing models, which I don't need to
>> do.
>>
>> The shared info is dynamic (for example, if the master instance gets in
>> trouble, I want another to become the new master). I can think of a few
>> ways to do this: I could set up my own multicast chit-chat, I could put the
>> data in question in a database, I could use a networked file, ...), but I
>> thought I'd ask whether Wonder, with its extensive coverage had some
>> capability that would facilitate this .. Gavin
>
> ___
> Andrew Lindesay
> www.lindesay.co.nz
>
> _______________________________________________
> 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
>
_______________________________________________
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