With Java in Adaptive Server, you can:
Run Java in the database server using an internal Java Virtual Machine (Java VM).
Call Java functions (methods) directly from SQL statements.
Wrap Java methods in SQL aliases and call them as standard SQL stored procedures and built-in functions.
Access SQL data from Java using an internal JDBC driver.
Use Java classes as SQL datatypes.
Save instances of Java classes in tables.
Generate XML-formatted documents from raw data stored in Adaptive Server databases and, conversely, store XML documents and data extracted from them in Adaptive Server databases.
Debug Java in the database.
Java is an object-oriented language. Its instructions (source code) come in the form of classes. You write and compile the Java instructions outside the database into compiled classes (byte code), which are binary files holding Java instructions.
You then install the compiled classes into the database, where they can be executed in the database server.
Adaptive Server is a runtime environment for Java classes. You need a Java development environment, such as Sybase PowerJ(TM) or Sun Microsystems Java Development Kit (JDK), to write and compile Java.
See Java in Adaptive Server Enterprise for more information.