A Oracle Multimedia Sample Applications

Oracle Multimedia provides several scripts and sample applications, written in C, SQL, PL/SQL, and Java. Most of them are available after you install the Oracle Database Examples media, which you can download from the Oracle Technology Network (OTN), in the locations shown in Table A-1.

Table A-1 Oracle Multimedia Sample Applications in Oracle Database Examples Media

Name Location

ORDImage OCI C

Linux and UNIX: <ORACLE_HOME>/ord/img/demo

Windows: <ORACLE_HOME>\ord\img\demo

PL/SQL Web Toolkit Photo Album

Linux and UNIX: <ORACLE_HOME>/ord/http/demo/plsqlwtk

Windows: <ORACLE_HOME>\ord\http\demo\plsqlwtk

Code Wizard for the PL/SQL Gateway

Linux and UNIX: <ORACLE_HOME>/ord/http/demo/plsgwycw

Windows: <ORACLE_HOME>\ord\http\demo\plsgwycw

Oracle Multimedia Java API

Linux and UNIX: <ORACLE_HOME>/ord/im/demo/java

Windows: <ORACLE_HOME>\ord\im\demo\java

Oracle Multimedia Java Servlet Photo Album

Linux and UNIX: <ORACLE_HOME>/ord/http/demo/servlet

Windows: <ORACLE_HOME>\ord\http\demo\servlet

Oracle Multimedia JSP Photo Album

Linux and UNIX: <ORACLE_HOME>/ord/http/demo/jsp

Windows: <ORACLE_HOME>\ord\http\demo\jsp


You can download additional sample applications from Oracle Multimedia on the Oracle Technology Network Web site.

This appendix includes these sections:

A.1 Oracle Multimedia ORDImage OCI C Sample Application

After installing the Oracle Database Examples media, you can run the Oracle Multimedia ORDImage OCI C sample application to modify images. This sample application is written in C, and uses Oracle Call Interface (OCI) to access the database and process images using Oracle Multimedia.

See Also:

The README.txt file in the demo directory for more information about this sample application

A.2 Oracle Multimedia PL/SQL Sample Applications

These PL/SQL sample applications are available after installing the Oracle Database Examples media.

Oracle Multimedia PL/SQL Web Toolkit Photo Album Sample Application

The Oracle Multimedia PL/SQL Web Toolkit Photo Album sample application shows how to upload and retrieve media data using the PL/SQL Web Toolkit and PL/SQL Gateway. See Section 3.1 for more information about installing and using this application.

See Also:

The README.txt file in the demo directory for requirements and instructions for running this application

Oracle Multimedia Code Wizard Sample Application for the PL/SQL Gateway

The Oracle Multimedia Code Wizard sample application for the PL/SQL Gateway lets you create PL/SQL procedures for the PL/SQL Gateway to upload and retrieve media data stored in the database using any of the Oracle Multimedia object types. See Chapter 4 for more information about installing and using this application.

See Also:

The README.txt file in the demo directory for requirements and instructions for running this application

A.3 Oracle Multimedia Java Sample Applications

These Java sample applications are available after installing the Oracle Database Examples media.

Oracle Multimedia Java API Sample Application

The Oracle Multimedia Java API sample application shows how to use the audio, video, image, and media (ORDDoc) client-side Java classes to build your own Java applications. This Java sample application uses the sample schemas to demonstrate the use of the OrdAudio, OrdVideo, OrdImage, and OrdDoc Java objects. See Chapter 5 for more information about installing and using this application.

See Also:

The README.txt file in the demo directory for requirements and instructions for running this application

Oracle Multimedia Java Servlet Photo Album Sample Application

The Oracle Multimedia Java Servlet Photo Album sample application shows how to use Oracle Multimedia Servlets and JSP Java API to upload and retrieve multimedia data. See Section 3.2 for more information about installing and using this application.

See Also:

The README.txt file in the demo directory for requirements and instructions for running this application

Oracle Multimedia JavaServer Pages (JSP) Photo Album Sample Application

The Oracle Multimedia JSP Photo Album sample application shows how to use Oracle Multimedia Servlets and JSP Java API to upload and retrieve multimedia data. See Section 3.3 for more information about installing and using this application.

See Also:

The README.txt file in the demo directory for requirements and instructions for running this application