Using the Following steps you can able to run your RMI program in JAVA
1) First Comiple all java class
javac *.java
2) Then after start rmi registry
start rmiregistry
3) Then after generate stub and skelton using rmic,
rmic (implemented class)
4) Then after run server
java Server
5) Then after open new command prompt in same directory and run client
java Client
javac *.java
2) Then after start rmi registry
start rmiregistry
3) Then after generate stub and skelton using rmic,
rmic (implemented class)
4) Then after run server
java Server
5) Then after open new command prompt in same directory and run client
java Client
0 comments:
Post a Comment