O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

Auto-starting RMI Servers with Activation

By default, RMI applications require a remote object to be running in order to accept connections from client applications. If a client application were to attempt to connect to a remote object server that was not running, it would fail.

RMI activation addresses this issue by providing a mechanism for starting remote objects as they are requested. This reduces the load on system resources that would be consumed by running a number of remote objects that were not being used consistently.

But RMI activation is not for all objects. Starting a remote object can take time and would slow the execution of the client program. For remote objects that are used often, starting the object server before it is used ...

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