RDS addresses applications that exist in the following environment: A client application specifies a program that will execute on a server and the parameters required to return the desired information. The program invoked on the server gains access to the specified data source, retrieves the information, optionally processes the data, and then returns the resulting information to your client application in a form that it can easily use. RDS provides the means for you to perform the following sequence of actions:
- Specify the program to be invoked on the server, and obtain a way to refer to it from the client. (This reference is sometimes called a proxy. It represents the remote server program. The client application will "call" the proxy as if it were a local program, but it actually invokes the remote server program.)
- Invoke the server program. Pass parameters to the server program that identify the data source and the command to issue. (The server program actually uses ADO to gain access to the data source. ADO makes a connection with one of the given parameters, and then issues the command specified in the other parameter.)
- The server program obtains a Recordset object from the data source. Optionally, the Recordset object is processed on the server.
- The server program returns the final Recordset object to the client application.
- On the client, the Recordset object is put into a form that can be easily used by visual controls.
- Any modifications to the Recordset object are sent back to the server program, which uses them to update the data source.
No comments:
Post a Comment