You can install Java classes into a database as:
A single class You can install a single class into a database from a compiled class file. Class files typically have extension .class.
A JAR You can install a set of classes all at once if they are in either a compressed or uncompressed JAR file. JAR files typically have the extension .jar or .zip. SQL Anywhere supports all compressed JAR files created with the Sun JAR utility, as well as some other JAR compression schemes.
Creating a class
Installing a class
Installing a JAR
Updating classes and JAR files