The Structure of the Client Application

From RAD Studio
Jump to: navigation, search

Go Up to Understanding Multi-tiered Database Applications


Client applications can invoke exposed server methods. In order to do that, the proxies can be generated out of an active TSQLConnection connected to a DataSnap server.

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 a Client Dataset with a Provider.

These connection components are summarized in the following table.

Connection components

Component Protocol

Data.SqlExpr.TSQLConnection

dbExpress

Datasnap.DSConnect.TDSProviderConnection

DataSnap

Datasnap.Win.TConnect.TLocalConnection

in memory (local)

Datasnap.Win.MConnect.TDCOMConnection

DCOM

Datasnap.Win.SConnect.TSocketConnection

Windows sockets (TCP/IP)

Datasnap.Win.SConnect.TWebConnection

HTTP

Soap.SOAPConn.TSoapConnection

SOAP (HTTP and XML)

For more information about using connection components, see Connecting to the Application Server.

See Also