Try OpenEdge Now
skip to main content
Java Open Clients
Configuring and Deploying Java Open Client Applications : Preparing to generate proxies for a Java client in Windows using ProxyGen or Batch ProxyGen
 

Preparing to generate proxies for a Java client in Windows using ProxyGen or Batch ProxyGen

These are the system configuration steps you must perform before you can generate proxies with ProxyGen on Windows platforms:
1. Install Progress® OpenEdge® Studio, OpenEdge Development Server, or 4GL Development on a Windows system where you plan to run ProxyGen.
With these products, OpenEdge installs the JavaSoft Java Development Kit (JDK), which ProxyGen uses by default to compile a Java proxy.
2. If you want to use an alternate Java compiler to compile your Java proxies, install the appropriate JDK.
If you install an alternate JDK for ProxyGen to compile your Java proxies, you must specify your compiler location and CLASSPATH in the Java Client Details group of the ProxyGen Generate Proxies dialog box. For more information, see the section about the Java client details in OpenEdge Development: Open Client Introduction and Programming.
3. Make sure the ABL r-code for the proxy is accessible to your system.
4. Make sure both the Propath syntax and the r-code paths relative to the Propath setting (defined in the project file) are valid on this system.
5. Run ProxyGen from the icon.
An alternative is to run Batch ProxyGen by executing the bproxygen command with an existing project file.
For more information, see the chapter on generating proxies and Web service definitions in OpenEdge Development: Open Client Introduction and Programming.