Unsupported Java API packages, classes, and methods

Adaptive Server supports many but not all classes and methods in the Java API. In addition, Adaptive Server may impose security restrictions and implementation limitations. For example, Adaptive Server does not support all of the thread manipulation facilities of java.lang.Thread.

WARNING! Take care when using methods that spawn child threads. java.lang.Thread objects started within a Java method are scheduled by runtime rather than the Adaptive Server scheduler. If these threads are processor intensive or if large numbers of threads are spawned, server performance can degrade due to competition for processor time by greedy user threads.

Because the PCA/JVM uses a standard Java plug-in, the full class distribution is available to you. In general, methods are supported unless their use risks interference with the operation of the server or other Java tasks.

Java in Adaptive Server does not support the native methods invoked through the Java Native Interface (JNI).

This section lists: