170 likes | 438 Views
Common Object Request Broker Architecture (CORBA) . Object Request Broker (ORB). fundamental part of the CORBA ORB 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).
E N D
Object Request Broker (ORB) • fundamental part of the CORBA • ORB 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: • Data marshaling • Object location management • Delivering request to objects • 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 programming • Objects are accessible through interface only
Allows objects to transparently make requests and receive responses • CORBA is location transparent • in different process on another processor • on the same processor, in a different process • on the same processor and even in the same process
Architecture of CORBA • 3 additional components : • Object adapter • Implementation repository • 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 Mapping • Are 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.
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 CORBA • Can deal with heterogeneous systems • CORBA is a mature technology, support and tools are widely available • CORBA allows methods on a remote object to be accessed as if they were on the local machine