The RMI architecture specifies three layers, namely the stub and skeleton layer, the remote reference layer, and the transport layer.
The stub and skeleton layer is the first layer. It lies just below the view of the developer. This layer intercepts method calls made by the client to the interface reference variable and redirects these calls to a remote RMI service.
The next layer is the remote reference layer. This layer interprets and manages references made by clients to remote service objects. In the JDK 1.1 specification, the function of this layer is to connect clients to remote service objects that are running and exported on a server. The connection is a one-to-one link. In the Java 2 SDK specification, the functionalities of this layer have been enhanced to support the activation of dormant remote service objects through remote object activation.
The third layer is the transport layer. It is based on the TCP/IP connections between computers in a network. It provides basic connectivity as well as some firewall penetration strategies.
Become SUN SCJA certified. Download practice question and study guide for CX310-019 for exam.If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.