Contents Index Java-enabling a database Ways of Java-enabling a database

ASA Programming Guide
  Using Java in the Database
    Java-enabling a database

The Adaptive Server Anywhere runtime Java classes


The Adaptive Server Anywhere runtime Java classes are held on disk rather than stored in a database like other classes. The following files contain the Adaptive Server Anywhere runtime Java classes. The files are in the Java subdirectory of your SQL Anywhere directory:

When you Java-enable a database, you also update the system tables with a list of available classes from the system JAR files. You can then browse the class hierarchy from Sybase Central, but the classes themselves are not present in the database.

JAR files 

The database stores runtime class names the under the following JAR files:

Installed packages 

These runtime classes include the following packages:

Caution: do not install classes from another version of Sun's JDK    Classes in Sun's JDK share names with the Adaptive Server Anywhere runtime Java classes that must be installed in any database intended to execute Java operations.

You must not replace the classes.zip file included with Adaptive Server Anywhere. Using another version of these classes could cause compatibility problems with the Adaptive Server Anywhere Java Virtual Machine.

You must only Java-enable a database using the methods outlined in this section.


Contents Index Java-enabling a database Ways of Java-enabling a database