November 2004
Intermediate to advanced
1024 pages
27h 50m
English
You often want to pass parameters to remote objects. This section explains some of the techniques for doing so—along with some of the pitfalls.
When a remote object is passed from the server to the client, the client receives a stub. Using the stub, it can manipulate the server object by invoking remote methods. The object, however, stays on the server. It is also possible to pass and return any objects with a remote method call, not just those that implement the Remote interface. For example, the getDescription method of the preceding section returned a String object. That string was created on the server and had to be transported to the client. Because String does not implement the ...
Read now
Unlock full access