This java program illustrate the concept of RMI (Remote Method Invocation)
Process to run application:
1. compile
javac mathServer.java
javac mathClient.java
2. start rmiregistry using
start rmiregistry
then minimize the opened cmd prompt
3. run server side application
java mathServer
4. run clientSide application in new cmd prompt
java mathClient
javac mathServer.java
javac mathClient.java
2. start rmiregistry using
start rmiregistry
then minimize the opened cmd prompt
3. run server side application
java mathServer
4. run clientSide application in new cmd prompt
java mathClient
0 comments:
Post a Comment