public class FibonacciClient
{
public static void main(Sring gcs[])
{
try
{
//remote object i //localhost:1099/fibonacci
Object o=Naming.lookup("rmi://localhost/fibonacci");
}
catch(Exception e)
{
e.printStackTrace();
}
}
}
above code is showing UnmarshallException at
Object o=Naming.lookup("");
what need to be changed
Edited by Roger, 15 January 2011 - 08:19 PM.


Sign In
Create Account


Back to top









