Required components
The following components are required for writing Java™ API-based code:
- IBM® Product Master installation:
These files must be extracted or untared to a local folder on the
file system. Ensure that the following directories are available before
you run a Java API-based application:
- etc/default
- Contains the API configuration files, which specify the connection parameters to the Product Master server.
- Jars
- Contains all of the Product Master and supporting JAR files that are required for connecting to the server.
- Locales
- Contains the locale-specific resources.
- Logs
- Contains the log files that are generated by the API.
- IBM or Sun JDK: Version of the JDK depends on the version of Product Master being used. JDK version to be used starts from 1.5.
- The
tools.jar
file from JDK is required to be present in the class path of the Java project. - Access to a running Product Master instance is required. This instance can be a remote instance, for example, it does not need to be running on the same computer where IDE is being run to develop the application.
- Client connectivity to the database, which is being used by the Product Master instance.
- Database-specific client libraries:
- For Oracle,
ojdbc5.jar
orojdbc6.jar
is required on the class path of the project. - For DB2®,
db2jcc.jar
anddb2jcc_license_cu.jar
are required on the class path.
- For Oracle,
- Verify the database related parameters in the db.xml file.