How can you pass parameters in rmi?, JAVA Programming

RMI parameters :

Primitive types are given by value.

2. References to remote objects are given as remote references that allow the client process to call methods on the remote objects.

 

3. Non-remote objects are called by value using object serialization. These objects could allow them to be serialized by importing the java.io.Serializable interface.

The client process initiates the invocation of the remote function by calling the method on the stub. The stub has a reference instance to the remote object and forwards invoke to the skeleton through the reference manager by marshaling the function arguments. During Marshaling each object is checked to check whether it imports java.rmi.Remote interface. If it does then the remote reference is needed as the Marshaled data otherwise the object is serialized into byte streams and given to the remote process where it is de serialized into a similar copy of the local object. The skeleton changes this request from the stub into the appropriate function call on the actual remote object.

 

Posted Date: 7/26/2012 7:22:52 AM | Location : United States







Related Discussions:- How can you pass parameters in rmi?, Assignment Help, Ask Question on How can you pass parameters in rmi?, Get Answer, Expert's Help, How can you pass parameters in rmi? Discussions

Write discussion on How can you pass parameters in rmi?
Your posts are moderated
Related Questions
Develop Program using Interactive Brokers API Project Description: We require a Matlab function using the Interactive Brokers API for real time trading with three arguments:

To develop a shopping carts application for an online store of your choice Outcomes: 1. Apply the GUI components of Java and other tools to create user-friendly interfaces.

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''a''''-''''z'''') and

Explain function system.arraycopy() ? Although copying an array isn't particularly hard, it is an operation that advantages from a native implementation. Thus java.lang.System

Explain Data Updates issues in data management? DATA UPDATES: Old titles must be removed regularly Data changes every time Prices change Transportation / shipping cost change

I have a project due tonight and I need help setting up the project I know what I need to put in the class but not sure how to set it up properly

how to implement tsp problem using java applet to present in form of visulation

What is basic of android?

Want experienced GLSL programmer for Java project Project Description: I am preparing a small 3d game engine in Java, and I wanted to hire a GLSL programmer to help out with

How we Declaring Arrays in java language? Like all other variables in Java, an array must have a exact type such as byte, int, String or double. Just variables of the appropria