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
Illustrate the method to print on the GUI Example Code: Taking Input / Output So far, we learned how to print something on console. Now time has come to learn how to print

Project Description: I am seeking a reliable programmer to do the following task. I want a CMS management system to remotely monitor the Android platform on the network the C


Having one instance overall the application.eg.: Loggers

I want to copy an iphone app with some changes Project Description: I want to copy an iphone app with some changes i need the best programmer to do this for me Skills r

What is the difference among using bind() and rebind() methods of Naming Class? Ans) Bind method (String name) binds the specified name to a remote object whereas rebind(String

Question 1 Describe any five buzz words in Java Question 2 Describe exception classes and also explain common exceptions in java Question 3  Describe primitive and

Write a function that draws a cow at a certain location on the screen, and use the function to draw a herd of cows

1. Lifecycle Management : Individual enterprise beans do not accept to explicitly manage process allocation, object activation, thread management, or object destruction. The EJ

Need JAVA,SPRING,JSF(primefaces) Application Support Project Description: We want someone to be part of our team's new development, it's minute application but in future, cha