
Sir i just created client and server following the RMI rule, its running properly in the localhost, when i am trying to run the program in the different machine its not working, i changed the ip also, when i copied the stub and interface file then it is working, I s there is any other option rather than copying stub and interface class file

Have a look at the following link:
http://www.roseindia.net/java/network/rmi-client-and-rmi-server-implementation.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.