Building Distributed
Applications
Using the Progress AppServer


Accessing AppServer Resources from a Client

In order to run remote procedures on an AppServer, a client application must first establish a connection with the required AppServer. When done with the connection, the client application can then disconnect from the AppServer.

There are five steps that a 4GL client application follows to connect and then run remote procedures on an AppServer:

  1. Create a server object handle.
  2. Use the CONNECT( ) method on the server object handle to connect an AppServer instance.
  3. Invoke remote procedure requests using the RUN statement.
  4. Use the DISCONNECT( ) method on the server object handle to disconnect a client application from the AppServer.
  5. Delete the server object handle.

The following sections provide more information and code examples for each step in this process.

Following is a list of general points that describe the relationship between a client application and the AppServer environment.


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