Open Data Services (ODS) server applications are event-driven—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 involved in creating an ODS server application are based on meeting the following requirements:
For applications that provide access to a remote data source, the tasks include:
ODS also provides an extensive selection of functions and macros, such as those related to data retrieval and language event processing. Moreover, ODS provides three primary data structures to maintain information about the status of the ODS server application and each of the connected client processes.
An ODS server application can take advantage of several memory and thread management features of the Win32® API such as:
For more information about using the Win32 API in ODS programming, see the Microsoft SQL Server Programmer's Toolkit documentation in the "Database and Messaging Services" section of the Platform SDK.