Despite the fact that RMI and IIOP seem to do the same thing, they actually complement each other. IIOP is a protocol, a specification of how distributed objects can communicate with one another. RMI is more than a specification; it is a concrete product. RMI is a high-level programming interface that makes the location of the server transparent to the client. Moreover, RMI is a Java-to-Java product, specifying how two Java components can communicate with each other. If Java components on the client need to interact with C++, COBOL, or Ada components on the server, using IIOP is the solution. If only Java components will provide the public interface to client components, RMI is a good candidate. Apart from some subtleties in their implementations ...

Get Building Web Applications with UML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.