O'Reilly logo

PURE Java™ 2 by Kenneth Litwak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required