Previous | Table of Contents | Next |
Create table DataStore_table of DataStore;
Insert into DataStore_table values (1, test1, to_date (03-28-1998, MM-DD-YYYY), EMPTY_CLOB() ); commit;
Select d.DataMimimum(), d.DataMaximum() from DataStore_table d;
There are several tasks that need to performed before you can start using the cartridges. In this section we will take a look at several of these tasks.
Installation involves the following steps:
The entire process of packaging and installing of cartridges can be divided into four phases:
Libraries are collections of related Java classes that are used for implementing specific functionality during an installation. The Cartridge Packager uses libraries to make actions, dialogs, or queries available to the installation developer. Libraries can be uniquely defined by specifying the following:
There are three types of libraries:
Action Library
Action libraries are collections of actions that can be added by the developers to the action flow. Actions are only available in the state change phase. The Cartridge Packager provides default action libraries, and it also allows the developers to import additional custom-developed libraries.
The default action library provided with the cartridge packager includes the following:
Actions may be platform-specificapplicable and implemented for certain platforms onlyor they may be polymorphic. Depending on the platform, they can implement different logic to perform the same action.
Actions are defined using the following two steps:
Note:
Associated with each action object is an Undo function that is used during the uninstall procedure to reverse the effect of that action object.
Dialog Libraries
Dialogs are used by the end users during the installation process to set variables. The installer first runs through its standard set of dialogs, and then it runs through the dialogs of each component that has been selected during the installation process. The Cartridge Packager provides default dialog libraries, and it also allows the developers to import additional custom-developed libraries.
The default dialog library provided with the Cartridge Packager includes the following:
Dialogs are defined using the following two steps:
Queries Library
During the installation process, queries can be used to obtain information about the target machine. The information that results from the query can be used to influence the flow of the rest of the install process.
Note:
Actions can change the state of the target machine, while queries only retrieve information about the target machine.
There are several things that must be considered during the definition of the installation flow:
Cartridges provide a powerful and flexible mechanism for the customization and extension of the Oracle8 engine. They are a very important component of the Network Computing Architecture and allow the overall functionality of the system to be distributed into either the client, application, or data cartridges. As server-based components, data cartridges allow the storage, management, manipulation, and retrieval of complex data just like traditional data, thereby supporting the business model in a better way.
Oracle is committed to further extend this technology in the future. There are two initiatives underway at Oracle to enhance the usage of the cartridges.
Previous | Table of Contents | Next |