O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The RMI Framework

Before we take a look at using RMI, it is useful to understand the underlying framework of RMI and how the communication protocol fits into this framework. Understanding this framework will help in understanding the development process for RMI applications.

RMI applications work with what are commonly referred to as a stub and skeleton. Though the skeleton has become optional following the JDK 1.2, it is still a useful part of the RMI discussion (see Figure 18-1).

Figure 18-1. Java RMI.

The stub acts as a proxy and implements what we refer to as a proxy design pattern. The stub contains all of the methods that the remote object ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required