top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the roles of a skeleton and a stub in CORBA ?

+5 votes
762 views
What are the roles of a skeleton and a stub in CORBA ?
posted Dec 8, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

A stub and a skeleton are automatically generated from the IDL description of an interface. The stub behaves to the caller just like the called object - it provides the same methods and implements the same interfaces. However, when the methods are called, the stub interacts with the network to pass the request to the skeleton. The skeleton calls the appropriate method on the called object and passes the results back to the stub, which returns them to the caller.

answer Dec 8, 2013 by Vikas Upadhyay
...