Server Side program import java.rmi. * ; import java.rmi.server. * ; interface RMI_Intf extends Remote { public int add ( int a, int b ) throws RemoteException ; } class RMI_Server extends UnicastRemoteObject implements RMI_Intf { RMI_Server () throws RemoteException { } public int add ( int a, int b ) throws RemoteException { System .out. println ( "Press To Start" ) ; try { System .in. read () ; } catch ( Exception e ){} System .out. println ( "Client passed values " + a + " and " + b ) ; ...
Future driven solutions.