Java Reference
In-Depth Information
SOLUTION 11.4
The completed diagram should appear as in Figure B.15. A legitimate but less informative
labeling would name both receivers of
getApogee()
as being of type
Rocket
. In fact, both
the server and the client programs refer to these objects as instances of the
Rocket
interface.
Figure B.15. A proxy forwards a client's calls so that to the client, the remote object
appears as if it were local.