ASA Programming Guide
Introduction to Java in the Database
Java in the database Q & A
A guiding principle for the design of Java in the database is that it provides a natural, open extension to existing SQL functionality. Adaptive Server Anywhere extends the range of SQL expressions to include properties and methods of Java objects, so you can include Java operations in a SQL statement.
You can use many of the classes that are part of the Java API as included in the Sun Microsystems Java Development Kit. You can also use classes created and compiled by Java developers.