Introduction
What is RMI
The Distributed Calculator:
A Simple Example
Scaling Up: Enterprise Concerns
Scaling the Calculator
RMI Future
|
RMI Structure
by Yoonju Kim
RMI is implemented as three layers between the application program and the Java virtual machine.
- Stub program in the client side and a corresponding skeleton at the server
The stub appears to the calling program to be the program being called for a service. (Sun uses the term proxy
as a synonym for stub.)
- Remote Reference Layer
It can behave differently depending on the parameters passed by the calling program. For example, this layer
can determine whether the request is to call a single remote service or multiple remote programs as in a multicast.
- Transport Connection Layer
It sets up and manages the request. A single request travels down through the layers on one computer and up
through the layers at the other end.
(from 52 of Java Enterprise In A Nutshell)
|