Common Object Request Broker Architecture (CORBA)
Object Request Broker (ORB)fundamental part of the CORBAORB is the distributed service that
implements the request to the remote object.
Help a client to invoke a method on an object.
Object Request Broker (ORB)The ORB is responsible for:i. Data marshalingii. Object location managementiii. Delivering request to objectsiv. Returning output values back to client
What is CORBA ?Middleware design that allows application
programs to communicate with one another irrespective of their programming language, hardware, software, networks they communicate over and implementors.
Object-oriented programmingObjects are accessible through interface
only
Allows objects to transparently make requests and receive responses
CORBA is location transparenti. in different process on another processor ii.on the same processor, in a different
processiii.on the same processor and even in the
same process
Architecture of CORBA
Architecture of CORBA3 additional components : i. Object adapterii. Implementation repositoryiii.Interface repository
Interface Definition Language (IDL)Is the language used to define
interfaces between application components.
Applications are not programmed in IDL. IDL is not a procedural language; it can
define only interfaces, not implementations.
Provides facilities for defining modules, interfaces, types, attributes and method signatures.
Language MappingAre basic for actual implementation of the
object in the respective programming language
Primitive types in IDL are mapped to the corresponding primitive types in Java.
Holder classes are provided for parameter passing semantics of IDL onto those of Java.
IDL Type Java Type short, unsigned short short
boolean boolean
char, wchar char
long long, unsigned long long long
Portable Object Adapter (POA)
CORBA 2.2 standard for object adapters is called POA.
Portable – allows applications and servants to be run on ORBs produced by different developers.
Advantages of CORBACan deal with heterogeneous systemsCORBA is a mature technology, support
and tools are widely availableCORBA allows methods on a remote object
to be accessed as if they were on the local machine
Design Features
Design Features (cont..)
Design Features (cont..)
The End…