O'Reilly logo

Java™ Network Programming and Distributed Computing by Michael Reilly, David Reilly

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

11.12. Remote Object Activation

One of the chief disadvantages of using RMI for large and complex systems is the amount of overhead generated by RMI server software. Suppose you are constructing a massive system, with many different RMI service interfaces and server implementations. In such a system, each server would have to be running continually, even if it was seldom used by client software. Servers must create and export remote objects that implement RMI service interfaces, which consumes memory and CPU time. If each implementation is created as a separate server, this means that there will be as many JVM instances as there are services (unless all servers are combined into one, which is a messy solution and still wastes memory, as an instance ...

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