• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: inter-instance communication ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inter-instance communication ?


  • Subject: Re: inter-instance communication ?
  • From: Andrew Lindesay <email@hidden>
  • Date: Mon, 22 Sep 2008 10:54:45 +1200

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


  • Follow-Ups:
    • Re: inter-instance communication ?
      • From: "John Bruce" <email@hidden>
  • Prev by Date: Re: Applet + WO
  • Next by Date: Re: Class.this.. ?
  • Previous by thread: Re: Applet + WO
  • Next by thread: Re: inter-instance communication ?
  • Index(es):
    • Date
    • Thread