Try OpenEdge Now
skip to main content
Open Client Introduction and Programming
Generating Proxies and Web Service Definitions : Specifying generation settings : Java client details
 

Java client details

The Java client type generates executable proxies in the form of Java .class files.
Client Details for the Java client type displays the following generation settings:
*Package — Enter the package name to use as the root directory for generating the classes in the Java proxy.
*Compiler — These radio buttons allow you to specify one of the following compilers to use for generating a Java proxy:
*Default javac — ProxyGen uses the JavaSoft javac compiler installed by OpenEdge.
*Custom — You specify an alternate Java compiler for proxy generation.
To make your code more portable, consider using your PATH environment variable for finding the Java compiler only by executable name. Doing this also allows you to install the JDK for each platform in vendor-specified default directories, without causing your application code to fail when moving from one platform to another.
*Compiler Command — If Default javac is selected in the Compiler field, the Compiler Command field is read-only and displays the appropriate compiler command.
If Custom is selected in the Compiler field, you can modify the Compiler Command setting as appropriate for your compiler choice. You must specify the full path or a path that is relative to the system path.
*Classpath Switch — This field specifies the compiler option used to specify the classpath. If Default javac is selected in the Compiler field, this field is read-only and displays the appropriate classpath switch. If Custom is selected in the Compiler field, you can set this value appropriately for your compiler.
*Classpath — This field specifies the actual classpath. If Default javac is selected in the Compiler field, this field is read-only and displays the appropriate classpath. If Custom is selected in the Compiler field, you can set this value appropriately for your compiler.
Note: The Classpath includes the ABL class libraries progress.jar and messages.jar. The initially displayed value in the Classpath field is the one required for proxy generation. Never change this portion of the Classpath. Instead, append any additional values to the end.
*Compiler Options — You can set other compiler options (in addition to the Classpath) for any selected compiler.
Note: Do not set the Classpath in Compiler Options, because doing so overrides the default values required for proxy generation.
* Symbolic references to Java Open Client directory paths