Building Distributed
Applications
Using the Progress AppServer


How Does a Remote Procedure Execute?

Once a client has established a connection to an AppServer, the client application can initiate requests to run remote procedures. A remote procedure is a procedure executed by an Application Server process as a result of being directly called by a client application. A 4GL client can execute a remote procedure by invoking a RUN statement on an external procedure with the ON SERVER option or on an internal procedure within a previously executed remote persistent procedure. A Java or ActiveX Controller client can execute a remote procedure by invoking a method that maps to the remote procedure on the AppServer.

A client application can also execute a remote procedure persistently (remote persistent procedure). In this case, the procedure leaves its context available to the AppServer session after it returns (exactly like any persistent procedure in a 4GL client session). The persistent procedure context is not deleted until the client deletes it or until the client disconnects from the AppServer instance.


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