Adaptive Server supports third-party Java Virtual Machines (JVMs), such as the Sun Java 2 Platform, Standard Edition (J2SE), in the clustered environment. See the installation guide for your platform for instructions on how to install the Sybase Java components on the Adaptive Server CE. See Java in Adaptive Server Enterprise for a complete description of how to use Java on Adaptive Server.
In general, you can use Java in the same way in clustered and nonclustered environments. These differences apply:
In the Cluster Edition, connection migration is not supported for connections executing Java.
If a connection fails, a connection executing Java fails over to another instance as configured. After failover, existing SQL batch processes and Java are executed again automatically.
Adaptive Server handles static data in different ways, depending on whether or not the JVM is shared or private.
In the Cluster Edition, each node has its own JVM – static data is not shareable between nodes. If a node goes down, the JVM goes down as well, and all work on the JVM is lost. You must reapply any extant SQL batch processes.
The nonclustered edition of Adaptive Server 15.0.3 shares a single JVM across all engines and connections – static data is sharable for classes loaded from a common class loader.
In Adaptive Server 15.0.2 and earlier, each client connection has its own private Sybase JVM – static data is not supported across clients.