11.10. Remote Method Invocation Deployment Issues

Remote method invocation, during development and testing, runs very smoothly and with very few problems (other than perhaps out-of-date stub files if a service interface or implementation is changed). However, when it comes to deploying RMI services and clients on a network, some additional complexities may be encountered. Class definitions for services and clients must be distributed, and there are issues with different JVM implementations (such as a Microsoft JVM versus one from Sun Microsystems) and even between JDK versions. Finally, applet communication with RMI services is an issue that must be considered during deployment.

11.10.1. Dynamic Class Loading

The effort required to distribute ...

Get Java™ Network Programming and Distributed Computing 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.