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 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
How do I write a program a bout Rotor cipher?

Describe Polymorphism? Polymorphism can be referred as one name many forms. It's the ability of methods to behave differently, depending upon object who is calling it. Key feat

Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers [7] 2.2 In a given day he will se

I need Android Kiosk Mode Project Description: I need an Android platform developer to develop an app when device start it start into kiosk mode. Only browser window open a c

what is multithreading in Java? Explain with example.

State the Java Programmer Efficiency Faster Development Building an application in Java takes about 50% less time than in C or C++. So, faster time to market Java is said to

palindrome is starting that reads both the ends.using string covert into character

Define testing with respect to programming? Testing is the process through that we try to determine the presence defects in a program. Testing is an significant step in soft

When MalformedURLException and UnknownHostException throws? Ans) When the particular URL is not connected then the URL throws MalformedURLException and If InetAddress? methods g

Normal 0 false false false EN-US X-NONE X-NONE      Obj ec t Ori e n