Java remote method invocation (RMI) architecture, JAVA Programming

 

Java Remote Method Invocation (RMI):

It gives a way for a Java program on one machine to interact with objects residing in different JVMs. The important blocks of the RMI architecture are the stub class, the skeleton class and object serialization. RMI needs a layered architecture where each of the layers may be enhanced without affecting the other layers. The layers may be defined as given:

1. Application Layer: The server and client program

2. Skeleton & Stub Layer: Intercepts method invokes made by the client and redirects these calls to a remote RMI service.

3. Remote Reference Layer: Sets up connections to remote address spaces, understands, and manages connections how to manage and interpret references given from clients to the remote service objects.

4. Transport layer: Based on TCP/IP connections between operating systems in a network. It gives basic connectivity, as well as some firewall penetration goals.

RMI stub classes give a reference to a skeleton object located in a different address space on the different or same machine. That is a typical example of a proxy design pattern, which builds an object executing in another JVM seems like a local object. In JDK 5.0 and later, the RMI facility access dynamic proxies instead of generated stubs, which builds RMI easier to use.

 

30_Java Remote Method Invocation (RMI) architecture.png

Posted Date: 7/26/2012 6:48:25 AM | Location : United States







Related Discussions:- Java remote method invocation (RMI) architecture, Assignment Help, Ask Question on Java remote method invocation (RMI) architecture, Get Answer, Expert's Help, Java remote method invocation (RMI) architecture Discussions

Write discussion on Java remote method invocation (RMI) architecture
Your posts are moderated
Related Questions
Why hub is used in networks? Hub is networking equipment and a device that connects various computers to form a network. In a network the NIC translates the message within elec

What is the preferred organizational structure for the organization? Preferred Organizational Structure for organization is hierarchal. Where there is various departments inter

Write a Java ADB client to perform the following- The client will read the contents of the file - invoice.txt. The first line of the file will display the type of the currency. The

Normal 0 false false false EN-US X-NONE X-NONE

You want the base class to represent only an interface for its derived classes. That means, you don't want anyone to actually instantiate an object of the parent class. You only

Write a program called Power that displays the positive powers of 2. When the user enters the exponent at a prompt, the program displays 2 to that power. The program halts when the

what are cookies?

Instructions: Please make sure your solutions are original, in your own words, expressing your own ideas. Any copying from others' home-works, text books or online sources will

Design a logic circuit to convert Gray code to Binary code and draw the logic circuit.

This assignment has two main objectives. It aims to establish a basic familiarity with the Java API (Java Thread class) for creating multithreaded Java application, and the Java ne