Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

RMI Interview Questions and Answers

Ques. What are the layers on which RMI implementation is built? Explain them.
Ans. The Stub/Skeleton Layer:

The stub/skeleton layer sits in between application layer and the rest of the RMI system and acts as an interface. This layer transmits the information to remote layer. This transmission is done through the marshalling of streams. These streams performs the object serialization.

A stub is a remote object at the client-side. This stub implements all the interfaces which remote object implementation supports.

A skeleton is a remote object at the server-side. This stub consists of methods that invokes dispatch calls to the remote implementation of objects.

The Remote Reference Layer:

The lower level transport interfaces is dealt by this layer. This layer carries a specific remote reference protocol independent of stub and skeletons.

Every remote object is implemented by choosing their individual remote reference subclasses.

The Transport Layer:

The transport layer sets up the connections to remote address spaces, manages them, monitors the connection liveliness, and listens the incoming calls.

The transport layer maintains the remote objectís table available in the address space, in a table. For incoming calls, the transport layer establishes a connection. It locates the target dispatcher of the remote calls and passes the connection to the dispatcher.
Is it helpful? Yes No

Most helpful rated by users:

©2016 WithoutBook