Understanding Multi-tiered Database Applications

From RAD Studio
Jump to: navigation, search

Go Up to Creating Multi-Tiered Applications Index

Multi-tiered applications use the components on the DataSnap page, the Data Access page, and possibly the WebServices page of the Tool Palette, plus a remote data module that is created by a wizard on the Multitier or WebServices page of the New Items dialog. They are based on the ability of provider components to package data into transportable data packets and handle updates received as transportable delta packets.

The components needed for a multi-tiered application

Components used in multi-tiered applications:

Component Description

Remote and Server data modules

Specialized data modules that can act as a COM Automation server, a DataSnap data module, REST servers, or implement a Web Service to give client applications access to any providers they contain. Used on the application server.

Provider component

A data broker that provides data by creating data packets and resolves client updates. Used on the application server.

Client dataset component

A specialized dataset used to manage data stored in data packets. The client dataset is used in the client application. It caches updates locally, and applies them in delta packets to the application server.

Connection components

A family of components that locate the server, form connections, and make the IAppServer interface available to client datasets. Each connection component is specialized to use a particular communications protocol.

The provider and client dataset components require midas.dll or midaslib.dcu, which manages datasets stored as data packets. (Note that, because the provider is used on the application server and the client dataset is used on the client application, if you are using midas.dll, you must deploy it on both application server and client application.) See the deploy.htm file in your installation directory for additional important information about redistributables.

An overview of the architecture into which these components fit is described in Using a Multi-Tiered Architecture. For more information on how these components fit together to create a multi-tiered application, see:


See Also