Explain RMI Architecture

Showing Answers 1 - 2 of 2 Answers

Pattukkottai Arun

  • Jul 22nd, 2005
 

Java Remote Method Invocation (Java RMI) enables the programmer to create distributed Java technology-based to Java technology-based applications, in which the methods of remote Java objects can be invoked from other Java virtual machines*, possibly on different hosts. RMI uses object serialization to marshal and unmarshal parameters and does not truncate types, supporting true object-oriented polymorphism.

  Was this answer useful?  Yes

ashok16

  • Aug 10th, 2010
 

RMI architecture consists of four layers and each layer performs specific
functions:


1. Application Layer: Contains the actual object definition.
2. Proxy Layer: Consists of stub and skeleton.
3. Remote Reference Layer: Gets the stream of bytes from the transparent layer
and sends it to the proxy layer.
4. Transportation Layer: Responsible for handling the actual machine-to-machine
communication.


  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions