Using RMI in Distributed Applications
By design, RMI programs closely resemble local Java applications. Programmers invoke a service on a distant networked server merely by making a method call. RMI's transparency is extremely valuable for a programmer's productivity because it makes distributing an application a relatively easy task. However, designing a scalable, reliable, and high-performance distributed application is not easy. Distributed programming brings a whole new class of potential errors.
While RMI might provide the illusion of network transparency, it is important to disregard this illusion and design RMI applications as distributed programs.
Distributed programming is a complicated task, and one chapter cannot discuss all the ...