Using the generic utility and caching APIs with an application server
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Using the generic utility and caching APIs with an application server
The generic utility and caching APIs support execution on an application server. They provide functions to define the application server connection to be used when a local database is not present. The functions that read data from or write data to a database forward their requests to the application server whenever they detect that the database is not local. For application server execution, you can only call the procedures in the caching or generic utility APIs directly, as they are the only APIs that are application server aware.
If you want to call any of the other standalone procedures directly, your code needs to handle the forwarding of requests to the application server. For example, in the following combination of pseudo-code and ABL, the caller handles the application server connection:
|