Interview questions

RMI,Remote Method Invocation

NEXT>>
RMI - marshalling and demarshalling - August 09, 2008 at 18:10 pm by Amit Satpute

Explain marshalling and demarshalling.
What is Object Activation?

Explain marshalling and demarshalling.

Answer
During communication between two machines through RPC or RMI, parameters are packed into a message and then sent over the network. This packing of parameters into a message is called marshalling. On the other side these packed parameters are unpacked from the message which is called unmarshalling.

What is Object Activation?

Object Activation is a process of providing persistent references to the objects. It also includes the managing the execution of implementing of objects. RMI activates the objects for the execution as and when needed. The appropriate execution is initiated inside the appropriate JVM when the activatable remote object is accessed which is not currently running.

NEXT>>

Write your comment - Share Knowledge and Experience


More RMI links
What is the role of Remote Interface in RMI?

Answer - Remote interfaces are defined by extending ,an interface........

What is a skeleton in RMI?

Answer - Server side stub is refered to as a skeleton........

Explain the diffference between RMI registry and OSAgent.

Answer - RMI registry is the binder for Java RMI. An instance of RMI registry.........

 
Latest placement tests
Latest links
 
 
Home | Want a Job? Submit Key Skills | Employer login | My key skills | About us | Sitemap | Contact us