Server Program: dollarserver.java
import java.net.*;
import java.rmi.*;
public class dollarserver
{ public static void main(String args[])
{
System.out.println("\n\n\nServer Is Waiting To Get The Request From The Client");
try
{
dollarimp c=new dollarimp();
Naming.rebind("dollarserver",c);
}
catch(Exception e)
{ System.out.println("Not able to announce the service"); }
}
}
Client Program: dollarclient.java << Previous
Next >>Steps for running RMI Program
Our aim is to provide information to the knowledge seekers.