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 ...

Get J2EE™ Applications and BEA™ WebLogic Server™ 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.