CS435 - Distributed Systems
with Dr. Basit Qureshi
Tutorial 5
_____________
Read through this tutorial on Java Remote Method Invocation (RMI).
Do the following in Netbeans or any IDE of your choice:
_____________
Create file RemoteServer.java
Create file RemoteObject.java
Create file CommunicationInterface.java
Create file Client.java
Compile and run all four programs in your IDE. One must run server first and then the client.
Read Tutorial5.pdf and use the code accordingly.
Modify your program to add a add method. This method takes two integer values, adds them and returns the sum.