Setup Instructions for Chapter 6

Database Setup

Before running the examples in Chapter 6, do the following:

  1. Set your current directory to ./orxmlapp/Examples/ch06
  2. Run the following SQL scripts as the indicated user...

To run a script use the SQL*Plus command-line tool that comes with your Oracle database using the command:

$  sqlplus  username/password  @scriptname.sql

Setup for External Java Libraries

Before running the examples in Chapter 6, do the following:

  1. Obtain the JTidy library from http://www3.sympatico.ca/ac.quick/jtidy.html, create a JDeveloper library for the JTidyHome/lib/Tidy.jar archive, and add this library to the Chapter-06 project's library list.

  2. Obtain the Oracle8i Advanced Queueing library that is shipped with Oracle8i, create a JDeveloper library for the ORACLE_HOME/rdbms/jlib/aqapi.jar archive, and add this library to the Chapter-06 project's library list.

For detailed instructions on creating a JDeveloper library to represent a Java archive, see the Using JDeveloper with Oracle XDK Components section of Chapter 4.