Creating a Remote Object from a Client: Remote Activation Code Examples

The techniques shown so far use remote objects that already exist.


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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.