CORBA Architecture - Explanation

The correct answers are indicated below, along with the text that explains the correct answers.
 
1. A CORBA request may be sent using:
  A. A Skeleton
  B. The DSI
  C. The DII
  D. All of the above
  The correct answer is C.
A CORBA request may be sent using the Dynamic Invocation Interface. A request may also be sent using a Stub, but that was not an option for this question.


2. When using the DII, CORBA clients will normally obtain information about a server's interface from the:
  A. Stub
  B. Interface Repository
  C. Skeleton
  D. ORB
  The correct answer is B.
Clients that have access to a Stub have no reason to use DII because the Stub may be used directly. DII is a substitute for the Stub.
The ORB does not offer any services that allow a client to learn about a server's interface. A Skeleton is used by a server, not a client.

3. Select the items that are required to make a service available on the ORB as a CORBA server:
  A. An Object Adapter
  B. The ORB
  C. A Skeleton or the DSI
  D. All of the above
  The correct answer is D.
An Object Adapter, an instance of a server, and a Skeleton or DSI are all needed to make a service available on the ORB as a CORBA server.

4. The following are written by CORBA architects or developers:
  A. The client and the server
  B. The Stub and the Skeleton
  C. The Object Adapter
  D. All of the above
  The correct answer is A.
The client code, and the server code are written by a development team, usually consisting of an architect and developer(s). The Stub, the Skeleton, and the Object Adapter is automatically generated when the IDL is compiled.

5. Object Adapters perform the following duties:
  A. Activate or deactivate servers
  B. Forward client requests to the correct server
  C. Generate unique object references for new servers
  D. All of the above
  The correct answer is D.
The answers above are all duties performed by the Object adapter. Object adapters also assist servers as they register with the ORB.

Corba Fundamentals