Oracle® OLAP Developer's Guide to the OLAP API 10g Release 1 (10.1) Part Number B10335-02 |
|
|
View PDF |
This appendix describes the development environment for creating applications that use the OLAP API.
This appendix includes the following topics:
The Oracle Database installation, with the OLAP option, provides the OLAP API and other class libraries, as jar
files, that you require to develop an OLAP API client application. As an application developer, you must copy the required jar
files to the computer on which you develop your Java application, or otherwise make them accessible to your development environment.
Your application development environment must have the following files:
The OLAP API jar
file, which contains the OLAP API class libraries.
Certain Oracle JDBC (Java Database Connectivity) jar
files, which provide communications between the application and the Oracle database. The Oracle installation includes the JDBC files. You must use these JDBC files and not those from another Oracle product or those from a product from another vender.
The Java Development Kit (JDK) version 1.2. The Oracle installation does not provide the JDK. For information about obtaining and using it, see the Sun Microsystems Java Web site at
http://java.sun.com
If you are using Oracle JDeveloper as your development environment, the JDK is already installed on your computer. However, ensure that you are using the correct version of the JDK in JDeveloper.
Table A-1 lists the OLAP API and other jar files that you must include in your application development environment. The table includes the locations of the files under the directory identified by the ORACLE_HOME
environment variable on the system on which the Oracle database is installed. You can copy these files to your application development computer, or otherwise include them in your development environment.
Table A-1 Required Class Libraries and Their Locations in the Oracle Installation
Class Library jar File | Location under ORACLE_HOME |
---|---|
olap_api.jar |
/olap/olapi/lib |
classes12.jar |
/jdbc/lib |
nls_charset12.jar |
/jdbc/lib |
The olap_api.jar
file contain the OLAP API classes. The classes12.jar
file contains JDBC classes for use with JDK 1.2.x. The nls_charset12.jar
file contains JDBC classes that provide globalization support.