Explain why the interfaces to remote objects in general and CORBA objects in particular do not provide constructors. Explain how CORBA objects can be created in the absence of constructors.

What will be an ideal response?


If clients were allowed to request a server to create instances of a given interface, the server would need to provide its implementation. It is more effective for a server to provide an implementation and then offer its interface.

CORBA objects can be created within the server:
1. the server (e.g. in the main method) creates an instance of the implementation class and then exports a remote object reference for accessing its methods.
2. A factory method (in another CORBA object) creates an instance of the implementation class and then exports a remote object reference for accessing its methods.

Computer Science & Information Technology

You might also like to view...

A NIC can be set up to retrieve any data packet being transferred throughout the Ethernet network segment. This mode is known as _________________________.?

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which element of an ICMP header would indicate that the packet is an ICMP echo request message.

A. Code B. Type C. Identifier D. Data

Computer Science & Information Technology

The nodes of a(n) ___________ tree contain two link members.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is the name of the panel where you can view and trim raw clips?

What will be an ideal response?

Computer Science & Information Technology