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
i am doing java and want projects with solutions to practice more and more

how to retrieve data from Excel file, and display that data in table on jsp page?

Define network organization? What are important features of network organization? Network Organization : Network organization is an inter firm organization in which is charac

INTRODUCTION Mobile computing is everywhere. Even as an increasing population of the world are now using mobile phones, and mobile phone (or smartphone) applications, there is a

Implicit objects are formed by the web container and have information related to a particular request, page, or application. They are request, response, pageContext, session, appli

.java coding for linear programming

Which models are supported by JMS? Please, explain them. Ans) Publish or subscribe (pub/sub). This model permits a client (publisher) to send messages to a JMS topic. These mess

Application using Swing API

What is ARPANET and who developed it? ARPANET stands for Advanced Research Projects. The initial reasons were to communicate along with and share computer resources between mainl

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