You can use the following Java packages, interfaces, classes, and methods in a Java method:
You can use all the basic and optional Java packages that are in JDK. That is, Java methods can use java.util.*, java.io.*, java.net.*, java.rmi.*, and so on. However, Java methods cannot use java.awt.*, java.applet.* and other GUI packages. For more information on these packages, see the SQLJ Part I draft.
Certain Informix extensions to SQLJ are available to applications that need to exploit the capabilities of the database server. The Informix extensions reside in the com.informix.udr package.
Java methods can use the JDBC 1.0 API to access the database.
Java methods can also use Informix extensions to JDBC 1.0 to access some JDBC 2.0 functionality.
When you edit your Java source code, follow the guidelines and restrictions listed in the IBM Informix: JDBC Driver Programmer's Guide and the IBM Informix: J/Foundation Developer's Guide.
Version 4.0 of BladeSmith does not generate Java code for opaque data types. For a list of additional restrictions on the Java code you can generate with BladeSmith, see Options for Routines.