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

Explain the term Naming Packages in details? As you saw previously name space conflicts arise if two pieces of code declare the similar name. Java remains track of what belongs

Operator Functionality E x ample/Explanation = Sets one value equal to another counter=0  Sets the counter to equivale

what is the code for page replacement algorithms in nachos os

A Scrollbar is a Component while Scroll Panel is a Container. A Scroll Panel handles its own events and performs its own scrolling.

In this assignment, you will gain experience implementing the java.util.List interface. This includes writing an inner class called Node and another inner class called CS228LinkedL

Using Fork() and Exec() or Clone(), create four child processes. Load the same "Hello" program in each process after creation. This program should behave differently in each pro

Ask question Write an inheritance hierarchy for classes Quadrilateral, Trapezoid, Parallelogram, Rectangle and Square. Use Quadrilateral as the superclass of the hierarchy. Create

1. De normalizes your tables where required. 2. Proper use of index columns: An index based on numeric parts is more efficient than an index based on character columns. 3. Re

how can i implement Mid-Square hashing?