Is it possible to invoke a service ( java program ) which is residing in remote machine. In my application , the service is a rmiserver . I need to start the rmiserver program programmatically, insted of going to that remote machine and run rmiserver program manually. If it's possible, can u please share your views how to implement that functionality.
One suggestion would be start the RMI server and the registry automatically when the machine starts up. In windows you can make the Java program a Service (again :o) which starts up when the machine comes up. In Unix or Linux based system I guess you can put it on the cron daemon. To make a Java program a Windows service there are utilities available. If you google you will find some of them.
Another way you could start up the RMI server and the Registry without going to the remote machine physically is to login through telnet.