Progress
Open Client
Developer’s Guide


Naming Side Effects and Restrictions

Automatic name conversions can cause two methods or parameters in the same name space to acquire the same name, even when the original names in a procedure file are different. This can also occur if you have two procedure files with the same name under different directories. You can override method names in ProxyGen to handle method name conflicts, but you must change any conflicting parameter names directly in the procedure files because you cannot customize parameter names in ProxyGen.

When ProxyGen generates a proxy, a separate .java file is created for each AppObject, SubAppObject, and ProcObject. In order to avoid file conflicts, ProxyGen does not allow you to generate a proxy if any two objects in the proxy have the same name.

For example, if you have two persistent procedures with the same name but in different directories, you must customize the ProcObject name for at least one of these procedures to prevent a filename conflict. You can do this by editing the name or by including the relative path in the name. Similarly, you must ensure that your AppObject, SubAppObject, and ProcObject names are all unique within a single proxy.


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