rchitecture) A software-based interface from the Object Management Group (OMG) that allows software modules (objects) to communicate with each other on a private network or the global Internet. CORBA is a "distributed objects" system designed for multi-tier, client/server applications, where processing data in one computer requires additional processing by some other service in another computer. CORBA is also described as an "object bus" or "software bus." As of 2020, CORBA is used in legacy systems but is not implemented for new ones. See distributed objects
DCOM and Web Services
Microsoft's counterpart to CORBA was its COM-based Distributed COM (DCOM) architecture (see COM
). COM/CORBA interoperability is required to integrate Windows desktops into a CORBA-based system.
Although CORBA and DCOM achieved some success, Web services on the Internet are far more triumphant. CORBA software from different vendors did not always interoperate at all levels, and DCOM is Windows only (see Web services
Part of the OMA
CORBA is the communications component of the Object Management Architecture (OMA), which defines other elements such as naming services, security and transaction services. However, CORBA is the common umbrella term.
At runtime, a CORBA client makes a request to a remote object via an ORB (Object Request Broker), and the ORB creates the illusion that the remote object is local.
The client calls a CORBA operation by sending a GIOP (General Inter-ORB Protocol) message to the server ORB, which returns a GIOP reply. Finally, the client ORB converts the reply into a normal object for the client application. When sent over TCP/IP, GIOP is called "IIOP" (Internet Inter-ORB Protocol). Orbix and VisiBroker are examples
of commercial ORBs.
The Interface Definition Language (IDL)
CORBA objects are defined by an Interface Definition Language (IDL) that describes the processing (methods) and the data sent and returned. IDL compilers for languages such as C, C++, Java, Smalltalk and COBOL let programmers use familiar constructs. IDL definitions stored in an Interface Repository can be queried by a client application to determine which objects are available on the bus.
The first version of CORBA supported C. CORBA 2 added C++, Java and GIOP. CORBA 3 added Internet firewall support, quality of service (QoS) and CORBAcomponents, a high-level interface to services such as Enterprise JavaBeans (EJBs). See POA
One Program Calls Another
The basic concept is simple: one program calls upon another for its services no matter where it is located. CORBA provides a messaging environment for executing remote objects written in multiple languages running on different platforms.
Remote Procedure Calls
RPCs, which have been around for some time, are similar to CORBA, although not as comprehensive. They tend to support one programming language and one platform.
CORBA Object Creation
CORBA objects are created by compiling IDL definitions into the client and server code. The resulting applications communicate with each other via the CORBA bus using the GIOP or IIOP protocols.