wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes Running java program on remote PC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Running java program on remote PC" Watch "Running java program on remote PC" New topic

Running java program on remote PC

Anant Dixit

Joined: Oct 26, 2009
Posts: 13

I am creating a application. In which i have a central PC.
When at a particular position in central PC, a xml is dump. read that xml in which remote pc IP is given(any pc),
give the command to that pc, that pc will execute that command. command may be of various type.
For each command that pc have saperate class file. so that as per command, it will create an object of that type and run the desired method.
Tom Reilly

Joined: Jun 01, 2010
Posts: 618
Do you have a question?
Anant Dixit

Joined: Oct 26, 2009
Posts: 13
My question is that which is the best approach to get my goal?
May be most of you told me that RMI is good approach.
But i am novice in RMI, i have some doubt related to this.
As i know, in RMI only RMI Client can called the method of RMI Server.
so i have to install RMI server on each pc.
and in my central location RMI client will be installed.
as XML is created in particular path,it read the pc IP and called the method of that pc.

Please tell me that weather i am in correct path or if not then please provide your valuable inputs.
I agree. Here's the link: http://aspose.com/file-tools
subject: Running java program on remote PC
Similar Threads
How to call an Oracle Stored Procedure from CMD file?
how to connect to remote pc to run a batch file in java
java -version
a severe problem
networkiing doubt