Page 573
Another important part of CORBA 2.0 is the specification for Interface Definition Language (IDL), which provides a language-independent description of the services provided by an object. The ORB vendors provide software that will generate language-specific bindings from IDL. The intent of CORBA 2.0 is to reduce the external specification for an object to its IDL. A developer doesn't need to know about the language used to implement an object or the operating system on which it was developed; everything that a developer needs to know about an object is contained in its IDL specification. IDL is a subset of the proposed C++ ANSI specification with extensions to support the invocation of object services.
CORBA 2.0 also includes a specification for Internet Inter-ORB Protocol (IIOP). This protocol specifies the communication mechanism, via TCP/IP, that allows one ORB to communicate with another ORB. Essentially, IIOP is a mechanism whereby a client on a computing platform can issue a request for a service from object abc which is handled by an ORB. Acting as a client, object abc issues a request, sent via TCP/IP, for a service from object xyz which is managed by an ORB on a different computing platform.
Because a picture is worth a thousand words, please look at Figure 21.11 for a diagram of the Network Computing Architecture. As you can see, the components of the NCA are as follows:
As envisioned by the NCA, a cartridge is a software component that interfaces with the client, application server, or the database itself. The purpose of a cartridge is to provide a specialized capability that is made available to other components and cartridges in the NCA. For example, an organization might develop a cartridge to handle the processing of some external data feed such as commodity prices. A cartridge can utilize the services that are provided by the NCA such as installation, registration, instantiation, administration, and security. You can write a cartridge in many different languages such as Java, C++, or PL/SQL.
Page 574
Figure 21.11.
Diagram of Network
Computing Architec-
ture.
The NCA includes a component called the Inter-Cartridge Exchange (ICX) that acts as a clearinghouse for the services provided by cartridges wherever they exist on the networkon the client, on the application server, or on the database server. In addition to functioning as an ORB, the ICX also integrates the NCA with the Microsoft Component Object Model (COM) so that ActiveX clients can communicate with NCA cartridges. The ICX will also provide integration with Java components and legacy system interfaces. If you are using Oracle server version 7.3.3 or above, you can communicate with the ICX via the PL/SQL Cartridge.
In this final lesson, the key concepts to remember are the following:
Page 575
Q Can the Web Application Server be used to access a non-Oracle database?
A Yes. This can be accomplished through the use of a gateway. Oracle offers gateway products for popular databases such as DB2 and Sybase. Another alternative is to use the ODBC cartridge to access a non-Oracle database, assuming that an ODBC driver is available for the non-Oracle database.
The purpose of the Workshop is to allow you to test your knowledge of the material discussed in the lesson.
Page 576
Page 577
Page 578