Contents Index What are the key features of Java in the database? How does Java get executed in a database?

ASA Programming Guide
  Introduction to Java in the Database
    Java in the database Q & A

How do I store Java instructions in the database?


Java is an object-oriented language, so its instructions (source code) come in the form of classes. To execute Java in a database, you write the Java instructions outside the database and compile them outside the database into compiled classes (byte code) which are binary files holding Java instructions.

You then install these compiled classes into a database. Once installed, you can execute these classes in the database server.

Adaptive Server Anywhere is a runtime environment for Java classes, not a Java development environment. You need a Java development environment, such as the Sun Microsystems Java Development Kit, to write and compile Java.

For more information, see Installing Java classes into a database.


Contents Index What are the key features of Java in the database? How does Java get executed in a database?