Try OpenEdge Now
skip to main content
Java Open Clients
Proxy Objects and Methods : Proxy methods : Remote ABL methods
 

Remote ABL methods

ProxyGen maps each ABL non-persistent procedure, internal procedure, and user-defined function exposed on the AppServer to a remote ABL method. These methods are part of an AppObject, SubAppObject, or ProcObject. ProxyGen generates method names using automatic conversion and conventions. For more information on proxy generation, see OpenEdge Development: Open Client Introduction and Programming.
Two sample non-persistent procedures follow:
AddAccount.p:
DEFINE INPUT PARAMETER accountNum AS INTEGER.
DEFINE INPUT PARAMETER name AS CHARACTER.
   .
   .
   .
RemoveAccount.p:
DEFINE INPUT PARAMETER accountNum AS INTEGER.
DEFINE OUTPUT PARAMETER name AS CHARACTER.
   .
   .
   .
ProxyGen generates the following Java proxy methods:
public void AddAccount(int accountNum, String name)
public void RemoveAccount(int accountNum, StringHolder name)
* Passing parameters
* Handling return values