Question 5 of 11 · CIE-2 QB · Set 1 · 6 marks
Open in ChatGPTCompare CORBA, DCOM, and GLOBE architectures with respect to communication, naming, and object interoperability.
Introduction
Distributed object middleware lets a client call a method on an object on another machine. CORBA, DCOM and GLOBE are three generations of that idea, differing in how they name objects, how they communicate, and how far they scale.
CORBA
- Communication: IIOP over TCP, a request-reply call through the Object Request Broker. Supports synchronous and asynchronous invocation.
- Naming: an IOR (interoperable object reference) containing the host, port, object key and repository id; also a Naming Service and Trading Service for lookup by name or property.
- Interoperability: language- and vendor-neutral through IDL, with mappings for C++, Java, Python and more. Objects written in different languages interoperate provided they share the interface.
DCOM
- Communication: ORPC (Object Remote Procedure Call) over DCE/RPC, with a marshalling layer and a security layer built in.
- Naming: a GUID (class id plus interface id) resolved through the registry and, for remote machines, through the Service Control Manager.
- Interoperability: strong inside Windows, weak outside it. DCOM is tied to Microsoft's object model, so a non-Windows client needs a bridge.
GLOBE
- Communication: a global object layer with location-independent remote method invocation; the request is routed to a suitable replica.
- Naming: a globally unique object handle resolved through a worldwide distributed name service, not a host address.
- Interoperability: designed for very large, wide-area systems rather than for vendor interoperation. It aims at scalability and replication rather than at bridging CORBA and DCOM.
Comparison
| Point | CORBA | DCOM | GLOBE |
|---|---|---|---|
| Scope | Enterprise, multi-vendor | Windows estate | Global, wide area |
| Naming | IOR, naming service | GUID, registry | Global object handle |
| Interoperability | High, by IDL | Low, Microsoft-centric | Not the goal |
| Replication | Add-on service | Limited | Built in |
| Failure model | Exceptions | HRESULT and COM errors | Location transparency |
Conclusion
CORBA standardised cross-language object calls, DCOM made them native on Windows, and GLOBE pushed the same abstraction to internet scale with replication and global naming. Modern practice keeps the idea and drops the weight: gRPC and REST services over HTTP.