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
Iterate through list of Fish. For each fish that isAlive, do the following: * * 1. If this fishIsSurroundedByRocks, DO NOTHING, and move on to the next fish. * (This f

Create a class to implement the ArrayList collection. The name should be YourFirstNameArrayList; for example if I were creating the class then I would call it WaynesArrayList. Do

Write a program that takes as input a sequence of transactions of the form

Explain java.lang.string library in java? Strings are objects. Specifically they're instances of the class java.lang.String . This class has several methods which are useful f

please fix polygon method, code below: /** * @(#)AnimationExtraCredit.java * * AnimationExtraCredit Applet application * * @author * @version 1.00 2013/5/5 */ import jav

Project Description: Develop an android service app that will run on the background. The app has to get the users location (longitude and latitude) every 5 minutes or when th

Write a short note on image preloading process? The primary use of image preloading procedure is to download the image within the cache before it is actually required to displa

What is asynchronous messaging? Queue Ans) Asynchronous messaging includes a client that does not wait for a message from the server. An event is used to trigger a message from

Project Description: Overview I am seeking an Oracle ADF mobile app and web service to be created that takes a list of contacts stored on an Android mobile phone or tablet an

What is 'public static void main (String args[ ] ) ' signifies? Access specifier is the 'public' keyword. 'static' keyword allows main() to called without instantiating