Try OpenEdge Now
skip to main content
Developing AppServer Applications
AppServer and Client Interaction : Understanding synchronous and asynchronous requests
 

Understanding synchronous and asynchronous requests

The ABL client and AppServer support the following two types of remote procedure execution for both session-managed and session-free applications:
*Synchronous request — (Default) Where the client blocks and waits for the result of the remote request before continuing execution
*Asynchronous request — Where the client continues execution after initiating the request and processes the result whenever the AppServer makes it available
The ABL client also supports asynchronous requests to industry Web services, which work much like session-free asynchronous requests to an AppServer. For more information on ABL asynchronous requests to a Web service, see OpenEdge Development: Web Services.
Note: OpenEdge does not provide built-in support for asynchronous requests in Open Clients or for OpenEdge Web services. You can implement your own asynchronous request mechanism in Java Open Clients using threads (see OpenEdge Development: Java Open Clients).
* Process control flow
* Specifying the type of remote request
* Handling asynchronous request results
* Asynchronous request queuing
* Understanding the session-managed queuing model
* Understanding the session-free queuing model
* Asynchronous requests and internal procedures
* Tuning the size of the send and response queues