Basic HTML version of Foils prepared July 6 99

Foil 91 Using Handle Object

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


1 Handle moonLibHandle = br.getHandle();
2 ObjectOutputStream ostream = ...
3 ostream.writeObject(moonLibHandle);
4 ......
5 ObjectInputStream istream = ...
6 Handle aMoonLibHandle = (Handle) istream.readObject(aMoonLibHandle);
7 BookReservation br2 = (BookReservation) javax.rmi.PortableRemoteObject.narrow(aMoonLibHandle.getEJBObject(),BookReservation.class);
8 br2.
9 br2.

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 Tue Jul 6 1999