Sample JAVA Scripts
Included on the API installation media are sample Java scripts. You can test these scripts using the sample apiguide Oracle database delivered on the API installation media.
The three sample scripts are:
- List Hierarchy Java
- List Hierarchy JSP
- Export Data Java
- Import apiguide.dmp (the database dmp file) using the SDL Contenta
dbimport.plcommand. Refer to the SDL Contenta Administration User section of the Contenta documentation for detailed information about thedbimport.plcommand. - After importing the database, copy in the Java directory on the API installation media onto your system.
- Copy the files in the in the Java\encaps folder on the API installation media into the SDL Contenta_home\encaps directory onto your system.
- Copy the files in the Java\web\cw_common\custom folder on the API installation media into the SDL Contenta_home\web\cw_common\custom directory on your system.
Refer to the comments in each script file for detailed information about the script.