Dynamic Class Loading with RMI
RMI can potentially provide a mechanism for a thin client, a client application with a very small footprint. We would expect an RMI thin client to be easy to deploy and maintain. This RMI client application should therefore require a small number of classes to run. The work required by the RMI client should be performed as much as possible on the RMI object server. Should the client need additional classes to perform some task, we would prefer to be able to dynamically load the required class from a server rather than deploy the class files with the RMI client code. RMI makes this process of dynamic code downloading—dynamically loading the classes from some location—fairly easy to accomplish.
In most cases we would ...
Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.