Adaptive Server version 12 provides a runtime environment for Java, which means that you can execute Java code in the server. Adaptive Server’s Java capabilities provide you with powerful new ways of managing and storing both data and logic, using a language that is both portable and widely available.
You can use the Java programming language as an integral part of Transact-SQL.
You can reuse Java code in the different layers of your application—client, middle-tier, or server—and use them wherever makes most sense to you.
Java provides a more powerful language than stored procedures for building logic into the database.
Java classes become rich, user-defined datatypes.
Methods of Java classes provide new functions accessible from SQL.
Java can be used in the database without jeopardizing the integrity, security, and robustness of the database. Using Java does not alter the behavior of existing SQL statements or other aspects of non-Java relational database behavior.