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


1 try { int id= thisClient._chatBahn.register(thisClient.clientName, control);
2 thisClient.clientID=id;
3 System.out.println("Registration Succeeded");
4 } catch (jdceRMIBahnException e) {
5 System.out.println(e.typeToString(e.getType()));
6 System.out.println("Registration Failed"); }
7 catch (jdceRMIClientException e){}
8 catch (RemoteException e) {
9 System.out.println("OPOOOOuch!!");
10 }
11 }

in Table To:


© 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