About this tutorial
As computers become increasingly connected, there is a need to leverage distributed computing platforms to allow data sharing, improve performance through parallelism, and place function where it is best performed.
Distributed computing requires a programming model that makes it easy for application programmers to create and maintain these distributed applications. The Java platform is a great vehicle for the distributed computing architecture.
When the Java language exists on both ends of a communication line, the Remote Method Invocation (RMI) API and infrastructure, part of J2SE, provides support for this programming model. In the case where Java coding exists only on one side and another language rules on the other end, the Java language maintains a function designed to operate with the industry standard Common Object Request Broker Architecture (CORBA).
In this tutorial, we will examine distributed object concepts and determine how these concepts are implemented in Java programming using both RMI and CORBA technologies.
This is an intermediate-level tutorial; it assumes you know how to read and write basic Java programs, both applications and applets.
If you are already a Java programmer and have been curious about distributed objects (including topics like RMI and CORBA) and the Java technologies that support them (for example, Java IDL and RMI-IIOP), then this tutorial is for you.
This tutorial introduces the basic concepts of distributed objects, then walks you through examples that highlight both RMI (using applications and applets) and CORBA technologies; the examples will use the Java IDL capability. The Java RMI-IIOP function will also play a role in the discussed material. The same example is executed using multiple technologies so you can compare and contrast how the programming is handled in each technology.
Tools, code samples, and installation requirements
To complete this tutorial you will need the following:
- The Java 2 platform, Standard Edition, version 1.4
- A standard Java language-compatible editor
- The tutorial source code so that you can follow the examples as we go along

