Professional Documents
Culture Documents
ORB Responsibilities
Given an object reference from a client, the ORB locates the corresponding object implementation (the server) on behalf of the client. When the server is located, the ORB ensures that the server is ready to receive the request. The ORB on the client side accepts the parameters of the method being invoked and marshals the parameters to the network. The ORB on the server side unmarshals the parameters from the network and delivers them to the server. Return parameters, if any, are marshaled/unmarshaled in the same way.
ORB Architecture
An object interface is written in IDL, which is then compiled to the implementation language of choice (e.g.: C++, Java).
Inter-ORB Protocols
CORBA specification is neutral with respect to network protocols. The CORBA standard specifies what is known as the General Inter-ORB Protocol (GIOP), which specifies, on a high level, a standard for communication between various CORBA ORBs and components. GIOP, as its name suggests, is only a general protocol; the CORBA standard also specifies additional protocols that specialize GIOP to use a particular transport protocol. For instance, GIOPbased protocols exist for TCP/IP and DCE.
Networking Model
CORBA Features
Language independence Platform independence Location transparent LAN, Internet. Object location is completely transparent to application code. This makes CORBA well suited to applications which require high-availability or in which objects may be moving around a network. Availability of tools and expertise Interoperability - CORBA applications can communicate with Java applications using Java's integrated CORBA support and with COM/DCOM applications using a standardized gateway.
Chat IDL
module Chat{ interface Displayer { void receive_update(in string msg, in string nam); };
Project Goal
To develop a Chat-Room Application using Java as Programming Language based on CORBA architecture standards. We used Windows 2000 as the OS and the campus LAN as our environment to test this application.
Diagram Link