SQL/MX Programming Manual for Java

Program and Module Management
HP NonStop SQL/MX Programming Manual for Java523726-003
6-9
Customizing Profiles in a JAR File
Figure 6-3. Customizing Profiles in a JAR File and Producing Module Definition
Files
Caution. If you choose to generate module definition files when customizing profiles in a JAR
file, be aware that naming conflicts might occur among the module definition files. For more
information, see Avoiding Possible Naming Conflicts on page 6-10.
VST010.vsd
/usr/dev/myapps directory
Module Definition File
MyProg2_SJProfile0.m
SQLJ Customizer
SQLJ Application
with Extended Profiles
MyApp.jar
/usr/dev/myapps directory
SQLJ Application
with Profiles
MyApp.jar
META-INF/MANIFEST.MF
pkg1/
pkg1/MyProg1.class
pkg1/MyProg1_SJProfile0.ser
pkg1/MyProg1_SJProfileKeys.class
pkg2/
pkg2/MyProg2_SJProfile0.ser
pkg2/MyProg2_SJProfileKeys.class
Uncustomized Profiles (.ser files)
META-INF/MANIFEST.MF
pkg1/
pkg1/MyProg1.class
pkg1/MyProg1_SJProfile0.ser
pkg1/MyProg1_SJProfileKeys.class
pkg2/
pkg2/MyProg2_SJProfile0.ser
pkg2/MyProg2_SJProfileKeys.class
Customized Profiles (.ser files)
java sqlj.tools.Sqlj -createMDF MyApp.jar
Module Definition File
MyProg1_SJProfile0.m
../pkg1 subdirectory
../pkg2 subdirectory