To the end user, the client application of a multi-tiered application looks and behaves no differently than a two-tiered application that uses cached updates. User interaction takes place through standard data-aware controls that display data from a TClientDataSet component. For detailed information about using the properties, events, and methods of client datasets, see Using Client Datasets.
TClientDataSet fetches data from and applies updates to a provider component, just as in two-tiered applications that use a client dataset with an external provider. For details about providers, see Using Provider Components. For details about client dataset features that facilitate its communication with a provider, see Using a Client Dataset with a Provider.
The client dataset communicates with the provider through the IAppServer interface. It gets this interface from a connection component. The connection component establishes the connection to the application server. Different connection components are available for using different communications protocols.
These connection components are summarized in the following table:
Connection components
Component |
Protocol |
TDCOMConnection |
DCOM |
TSocketConnection |
Windows sockets (TCP/IP) |
TWebConnection |
HTTP |
TSOAPConnection |
SOAP (HTTP and XML) |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|