Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

9.6 Notes about JAR file creation

This section describes the points to be observed when creating a JAR file.

Java has a concept called package to classify and manage programs by their function. A package is actually expressed as a directory structure; therefore, a Class file is created in the directory with the package name after compilation.

Figure 9-14 shows the location at which class files are created.

Figure 9-14 Location at which class files are created

[Figure]

When creating Java files, you can integrate and compress the files, including the directory structure.

You can integrate not only Class files but also Java files at the same time. When obtaining the Java program source with a specified Class from the JAR files registered in HiRDB by conducting a retrieval specifying GET_JAVA_STORED_ROUTINE_SOURCE, you need to integrate the Java files at the same time. For details about the GET_JAVA_STORED_ROUTINE_SOURCE specification, see the HiRDB Version 8 SQL Reference manual.

Organization of this section
9.6.1 Integrating Class files
9.6.2 Integrating Java files