Professional Documents
Culture Documents
Corba
Corba
Request Broker
Architecture
taking objects a step further!
MICROSOFT DCOM
SERVER/OBJECT
IMPLEMENTATION
CLIENT
ORB
Result/
error
A technology independent
syntax for describing object
encapsulation
::= <type_dcl> ;
|
<const_dcl> ;
<except_dcl> ;
<interface> ;
<module> ;
An example of the
syntax
#ifndef _HELLOWORLD_IDL
#define _HELLOWORLD_IDL
public synchronized
java.lang.String sayHello()
throws
sunw.corba.SystemException
{
return myString;
}
module HelloWorld {
interface SimpleHelloWorld {
string sayHello();
};
};
#endif
ORB is middleware
Based on client/server model of distributed
computing, CORBA inserts a broker
between client and server
ORB
request
SERVER/OBJECT
IMPLEMENTATION
CLIENT
ORB
Result/
error
The ORB :
intercepts calls
finds object
invokes method
passes parameters
returns results or error messages
REGARDLESS OF THE OBJECTS
LOCATION, ITS PROGRAMMING
LANGUAGE OR EVEN THE OPERATING
SYSTEMS INVOLVED!!
Application software
client
stub
Object implementation
DLL
skeleton
Object
Adapter
adapter
Application software
client
stub
Object implementation
DLL
skeleton
Object
Adapter
adapter
CORBAdomains
CORBAfacilities
The result?
Programmer free to design system as they see fit, ORB defines
application protocol via IDL
Programmer free to choose language, environment and OS
ORB allows integration of existing components into
a network object architecture
now possible to integrate existing systems with off-theshelf products