Compiling the connector
Once you have written the connector's application-specific component,
you must compile it into an executable format, its connector library.
This section provides information on how to compile a
connector.
To compile a Java connector, take the following
steps:
- Use a JDK 1.4.2 development environment. For more information,
see Setting up the development environment.
- Ensure that the following file is in the lib subdirectory of the product directory.
- Include wbiart.jar in the wbiart directory and make sure that directory is in the project
path. Also include in the project path any application-specific
jar files that your connector's application-specific component
requires.
- Compile the connector source (.java) files into class (.class)
files with the Java compiler.
- Create the Java connector's library file, which is
a Java archive (jar) file that contains the compiled Java code.
The suggested naming convention for the jar file is to begin
its name with the string "BIA_". Follow this string with the connector name, which uniquely
identifies the connector (see Table 109).
For more information about the connector name, see Naming the connector.
For example, for a Java connector with a connector name of MyJava, you could name its jar file as:
BIA_MyJava.jar
