Programming Tasks
Open Data Services server applications are event-driven — that is, they respond to a predefined set of events that the ODS Library generates in response to an incoming request or to an error.
The programming tasks that you need to complete when creating an Open Data Services server application are based on meeting the following requirements:
-
Initializing the Open Data Services server.
-
Installing a set of error handlers.
-
Installing a set of event handlers that will respond to the main Open Data Services event types by processing incoming requests and returning the results to the user. The main Open Data Services event types are as follows:
-
connect
-
language
-
remote stored procedure
For applications that provide access to a remote data source, the tasks include:
-
establishing a connection to the data source
-
passing user requests
-
receiving the results
-
returning the results to the user