Progress
Open Client
Developer’s Guide


Building a Client Application That Uses a Java Proxy

To build a client application that uses a Java proxy, you must first perform the following steps in the specified order on the system where you plan to build the application:

  1. To build the client application on machine other than the proxy machine, you must:
    1. Copy the proxy .class files to a directory that mirrors the package hierarchy specified in ProxyGen during the generation of the proxy. The package name implies a directory structure that you must maintain when you copy the proxy.
    2. Copy the proxy .java files to any directory on the system, typically together with the corresponding .class files.
    3. NOTE: ProxyGen provides the proxy .java files for documentation purposes only. Do not attempt to modify and rebuild your proxy from these files.

    4. Copy the Open Client Runtime package to any directory on the system. For more information, see the "Selecting an Open Client Runtime Package" section.
  2. Update the CLASSPATH setting for the client application’s development environment to include the:
    1. Directory containing the proxy (.class files) that you copied in Step 1. This is the directory above the package hierarchy.
    2. Open Client Runtime package you copied in Step 1.
  3. Write, compile, and execute the client application. For more information, see "Programming Concepts," and Programming Java Clients."
NOTE: If you installed either the Progress Open Client Toolkit or the Progress ProVision Plus products on a Windows system, this also installs the JavaSoft JDK. However, it does not set up the system for general use of the JDK. If you want to use the JDK for your client application development, see the JavaSoft documentation.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095