Building SQLJ applications
You can use a Java™ makefile
or
the bldsqlj
build file to build SQLJ applications.
About this task
TbMod
sample
SQLJ application. These steps use the build file, bldsqlj
(UNIX), or bldsqlj.bat
(Windows), which contains commands
to build either an SQLJ applet or application. The build file takes up to six parameters: $1, $2, $3, $4, $5, and $6 on UNIX, and %1, %2, %3, %4, %5, and %6 on Windows. The first parameter specifies the name of your program. The second parameter specifies the user ID for the database instance, the third parameter specifies the password. The fourth parameter specifies the server name. The fifth parameter specifies the port number. And the sixth parameter specifies the database name. For all but the first parameter, program name, default values can be used. See the build file for details about using default parameter values.