Introduction - If you have any usage issues, please Google them yourself
import java.rmi.*;
public class rcli
{
public static void main(String arg[])
{
try
{
rint rr = (rint)Naming.lookup("rmi://172.16.13.2/rser");
double s = rr.fact(5);
System.out.println("factorial value is : "+s);
}catch(Exception e)
{
System.out.println(e);
}
}
}