Creating a Remote Object from a Client: Remote Activation Code Examples
The techniques shown so far use remote objects that already exist.
Note
The creation of remote objects on a sever by a factory or other program running on the sever machine, without a client, is a key feature that distinguishes RMI and CORBA from DCOM. DCOM does not automatically support the use of existing remote objects. Instead, it requires that objects be created. This requirement makes it harder to share a remote object across clients. RMI has no trouble doing this.
There are times, however, when you don't want to depend on a "server-side" program to take care of setting up a remote object for you. You might want to do this to save memory, for example, or to decouple ...
Get PURE Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.