Hi, I want to spawn a new JVM on a remote host.Suppose there is a Java Program "A". What i have in "A" is Tasks and hosts where it should run (host). To be more clear i say Task1 -- host1 Task2 -- host2 Task3 -- host3. These Hosts can be anywhere on the internet. I do not know whether such a thing is possible or not ? I apologize if it not very clear and i will clarify. Thank you for your time. Thanks Praveen.
It is only possible if the remote hosts allow and enable it in some way. There are an enormous number of possible ways to do this, but all involve one key element: software on the remote host listening for a command from your client to launch this JVM. That software can be anything from a UNIX shell (which you could reach via rsh or ssh) to an CGI or Servlet (in a Web server) to a standalone RMI, CORBA, or other program. And these are just the low-level choices! Layered on top of these there are many higher-level APIs; you've surely heard of "SOAP," for example; there are many others. The first step is to choose one alternative. After that, it's just a Small Matter of Programming (TM).