Installation Requirements for the WebFOCUS API

In this section:

The WebFOCUS API requires the following components and configurations when developing applications:

WebFOCUS Client. For more information on installing the WebFOCUS client, see the installation guide for the platform you are using.

Java 2 SDK. WebFOCUS currently supports Java 2 SDK, Standard Edition (J2SE) 1.4.2_06 or higher and is provided with the WebFOCUS Client CD.

Web server/application server. This is required only if you are developing Web-based applications. However, the following are the most common Web and Application servers certified with WebFOCUS:

Additional Web and Application servers are supported that meet the J2EE 1.2 Web container, JSP 1.1, and servlet API 2.2 specifications. For additional support information, contact Customer Support.

CLASSPATH variable. This is required only if you are developing Java stand-alone applications. If you are developing stand-alone Java applications, the CLASSPATH must include install_drive:\ibi\WebFOCUS77\ibi_html\javaassist\WFAPI.jar.

If you are writing a Web application that uses servlets, you must add the standard servlet package from Sun to the classpath of the application server.

Note: As of Version 7 Release 7.02, when running a WebFOCUS API program, you will receive the following warning message:

log4j:WARN No appenders could be found for logger
(com.ibi.common.ApplicationValuesMap).
log4j:WARN Please initialize the log4j system properly.

To eliminate this message, make a copy of the log4j.xml file, ensuring that the path information for the loggers are correct, and add it into the classpath of the API programs.


Top of page

x
Using the WebFOCUS API in an Integrated Development Environment (IDE)

Java programmers may choose to develop Java applications within an Integrated Development Environment (IDE) such as NetBeans, Eclipse, or WebSphere Application Development Studio. The procedures for configuring each IDE differ, however, in all cases it is necessary to define the classpath for compiling the Java source code in the project. In order to ensure that all dependent classes are available on the project's classpath, you can import the /ibi/WebFOCUS77/ibi_html/javaassist/WFAPI.jar file and put it on the classpath of the project. Use the procedures documented for your IDE to import the jar file.


WebFOCUS