Mar 26, 2011

How to Run RMI Program?

To Run follow following Step
----------------------------------
D:\RMI\Prog1>javac *.java

D:\RMI\Prog1>rmic myRmiImpl

D:\RMI\Prog1>start rmiregistry

D:\RMI\Prog1>start java -classpath . -Djava.security.policy=java.policy myRmiServer

D:\RMI\Prog1>java -classpath . -Djava.security.policy=java.policy myRmiClient 127.0.0.1

No comments:

Post a Comment