Group: comp.lang.java.programmer
From: Ramon F Herrera
Date: Sunday, February 24, 2008 10:46 PM
Subject: Re: How to remote-control a Java app?

On Feb 25, 12:35 am, r...@zedat.fu-berlin.de (Stefan Ram) wrote:
> Ramon F Herrera writes:
>
> >restart it, I just want to tell it: "please move over to your correct
> >spot". So I will need to sent to some sort of message to the Java app.
>
> I believe, the most portable means for interprocess communication
> is a socket.
>
> You could use protocols like SOAP or REST on top of it or specify
> your own simple mini-protocol.
>
> There also are JNI-based Java-COM-bridges available.
>
> When a window is know to appear at a certain position, it also
> might be possible to move or resize it (as a last ressort) via
>
> http://download.java.net/jdk7/docs/api/java/awt/Robot.html

> I believe, the most portable means for interprocess
> communication is a socket.

I have an almost religious issue against placing a server program in a
client machine. That's an abominable practice done mostly by
Microsoft. I want to make sure that both programs (controlling and
controlled) run on the same computer. No socket listening.

Thanks!

-Ramon

News in English | Binaries Groups | 20lbs in 30 days