Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running java program on remote PC

 
Anant Dixit
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a question?
 
Anant Dixit
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic