Server Program: addserver.java


import java.net.*;

import java.rmi.*;

public class addserver {

public static void main(String args[])

{

try

{

addserverimpl impl=new addserverimpl();

Naming.rebind("addserver",impl);

}

catch(Exception e)

{

System.out.println("error");

}

}

}  

Client Program: addclient.java << Previous
Next >>Steps for running RMI Program

Our aim is to provide information to the knowledge seekers. 


comments powered by Disqus








Footer1