Basic HTML version of Foils prepared July 15 1998

Foil 29 Publishing the Client Object Reference (RMI) II

From Java Distributed Collaborative Environment as a CORBA and RMI Example Tutorial: ITEA HPCC Conference Aberdeen Md. -- July 13 98. by Shrideep Pallickara


try { int id= thisClient._chatBahn.register(thisClient.clientName, control);
thisClient.clientID=id;
System.out.println("Registration Succeeded");
} catch (jdceRMIBahnException e) {
System.out.println(e.typeToString(e.getType()));
System.out.println("Registration Failed"); }
catch (jdceRMIClientException e){}
catch (RemoteException e) {
System.out.println("OPOOOOuch!!");
}
}



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998