RMI - Explain marshalling and demarshalling.

Explain marshalling and demarshalling.

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.
RMI stub and skeleton
RMI stub and skeleton - What is a skeleton in RMI?, Explain the role of stub in RMI, Describe how the RMI mechanism works...
RMI layers - What are the layers of RMI Architecture?
RMI layers - The three layers are the Stub and Skeleton Layer, the Remote Reference Layer, and the Transport Layer.....
RMI registry and OSAgent - Explain the diffference between RMI registry and OSAgent.
RMI registry and OSAgent - RMI registry is the binder for Java RMI. An instance of RMI registry must run on every server computer that hosts remote objects.....
Post your comment