Setup Instructions for Chapter 16
Database Setup
Before running the examples in Chapter 16, do the following:
- Set your current directory to ./orxmlapp/Examples/ch16
- Run the following SQL scripts as the indicated user...
- If you have not already run it as part of the setup for Chapter 7, then as user XMLBOOK, run the create_empdept_tables.sql script.
Creates the familiar emp and dept tablesused in this chapter
- As user XMLBOOK, run the create_ch16_tables.sql script.
Creates the customer_id_seq sequence used in this chapter
To run a script use the SQL*Plus command-line tool that
comes with your Oracle database using the command:
$ sqlplus username/password @scriptname.sqlSetup for External Java Libraries
Before running the examples in Chapter 16, do the following:
- If you have not already created this library as part of the setup for Chapter 6, then 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-16 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.