Re: Inter-app Messaging
- From: Axel Hallez <Axel.Hallez@xxxxxxxx>
- Date: Tue, 20 May 2008 14:32:20 +0200
Mark wrote:
I'm relatively new to Java, but have been a programmer for decades. I would like multiple instances of my Java app (on different computers on the same local LAN) to communicate with each other through notifications of some sort. For example, when instance 1 does a certain action, instances 2, 3, and 4 should be notified about it so they can react accordingly. I'm unaware of existing Java classes that deal with this sort of thing, but I'm sure they must exist. Can someone please give me a tip or two in this regard?
As suggested by a previous responder, you can use RMI to establish inter JVM communication.
I would suggest that you also investigate the JMS (Java Messaging Service). JMS is a standardized interface for messaging between loose coupled applications. There several open source implementations of JMS:
http://java-source.net/open-source/jms
.
- References:
- Inter-app Messaging
- From: Mark
- Inter-app Messaging
- Prev by Date: The meaning of clone.
- Next by Date: Re: Inter-app Messaging
- Previous by thread: Re: Inter-app Messaging
- Next by thread: The meaning of clone.
- Index(es):
Relevant Pages
|
|