Oracle interMedia Java Classes User's Guide and Reference Release 9.0.1 Part Number A88785-01 |
|
Four sample files (programs written in Java) are provided in the installation of interMedia Java Classes. These files provide examples of how to build Java applications with interMedia. They demonstrate loading data from various sources into database objects, downloading data from database objects to the file system, and extracting and displaying metadata from the media content.
The names of the Java sample files are as follows:
In order to run the Java sample files included with interMedia Java Classes, you must perform the following operations:
You must have the Oracle9i database server that includes Oracle interMedia installed on a server machine.
All users must make sure that classes111.zip or classes12.zip, ordim.zip, the JDK classes, and the SQLJ runtime.zip files are included in the CLASSPATH variable on the local machine.
Solaris users must make sure the directory that contains libocijdbc9.so is included in the LD_LIBRARY_PATH variable.
Windows NT users must make sure that the directory that contains ocijdbc9.dll is included in the PATH variable.
Using version 1.2 or later of the JDK, compile the sample programs using the appropriate command:
In order for the sample programs to run, your database must include tables that contain a column of the appropriate interMedia object type. The interMedia Java Classes installation includes four SQL files that contain commands to create a new user and a table, and to add some sample data to the table.
The names of the SQL scripts are as follows:
Run the sample program using the appropriate command:
For more information on the sample files, see the appropriate readme file.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|