Setting Up Sample Applications

The sample applications are shipped in their Java source form, which provides the usage of the dynamic Java connector API. You must set up these sample applications in the environment before you can run them. Use these steps to set up the sample applications:

  1. Locate the connector_samples_src.jar and connectorsamples.zip files.

    These files are on the JD Edwards EnterpriseOne Java Server CD, under the system/classes/samples directory.

  2. Unzip the entire contents of the connector_samples_src.jar file and connectorsamples.zip into the directory you created (for example, C:\connectorsamples).

    The .jar file is a traditional .zip file with the Java .jar extension. The .jar file contains all of the sample application source files (.java files). All of the .jar files that you need for both setting up and running the sample applications are in the system/classes directory on the JD Edwards EnterpriseOne Java Server CD.

  3. Open each bat file in the samples directory and change the value of JAVA_HOME to the path where JDK is installed on the system.

  4. Configure the jdeinterop.ini, jdelog.ini, and jdbj.ini files and place them in the samples directory.

    You can use .tmpl files as a guide for doing this.