Using the Java Client library

To use the Java™ Client library, you must include IBM® Content Classification JAR files and import the Content Classification package.

About this task

To use the Java Client classes in your client applications:

Procedure

  1. Include the following JAR files in your CLASSPATH. These JAR files are required for compiling and executing client applications.
    • In Classification_Home\Clients\Java\:
      • bns.jar
    • In Classification_Home\Lib\Redist\axis-1_4\:
      • axis.jar
      • commons-discovery-0.2.jar
      • commons-logging-1.0.4.jar
      • jaxrpc.jar
      • log4j-1.2.8.jar
      • saaj.jar
      • wsdl4j-1.5.1.jar
  2. Import the Content Classification package and other classes that are used by the Java Client by adding the following lines to your Java code in the package import section of your file:
     import java.net.URL;
     import com.banter.bns.*;