SunQuest
 
       Delphi-Kylix
  Home arrow Delphi-Kylix arrow Page 3 - Using the Client Dataset in an N-Tiered Ap...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DELPHI-KYLIX

Using the Client Dataset in an N-Tiered Application
By: Danish Ahmed
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2008-01-02

    Table of Contents:
  • Using the Client Dataset in an N-Tiered Application
  • Application Server
  • Client Application
  • Connecting to the Application Server

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Using the Client Dataset in an N-Tiered Application - Client Application


    (Page 3 of 4 )

    The client of an n-tiered application looks very much like the client part of a two-tiered application. The only difference is that instead of transacting with the database server, the client interacts with an application server which constitutes the middle tier of the three-tiered architecture. The client application is essentially the presentation layer; its functions are limited to providing GUI for the end user.

    To create a light-weight client application, start a new application project and add a client database component to it. But the client dataset component cannot connect to a remote provider on its own, so we will need to add a Datasnap connection component. Delphi provides protocol specific components which can be found in the DataSnapcategory in the tool palette.


    TDCOMConnection to connect using DCOM protocol.

    TSocketConnection for Windows Socket connection

    TWebConnection for HTTP connection and

    TSOAPConnection (in the WebServices category) for SOAP

     

     


    These connection components are different from database connection components like TADOConnection, TSQLConnection and other connection components that connect to the database server. Before adding a datasnap connection object, it will be necessary to analyze your requirements, like what protocol you will be using and so forth. For the purpose of demonstration let us drop a TDCOMConnection object. If the application server is installed, then the interface is available in the server name property of the connection component.

    More Delphi-Kylix Articles
    More By Danish Ahmed


     

    DELPHI-KYLIX ARTICLES

    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi
    - Creating Data Link (UDL) Files in Delphi
    - Looking at the Details for an Invoicing Appl...
    - Invoicing in Delphi: Show Me the Money
    - Saving Images and Binary Files to a Database...
    - Saving Files to a Database using Delphi: Sav...
    - Creating CF Applications and Integrating a S...
    - Using Try and Finally to Help Prevent Memory...
    - The Implementation of an FTP Server
    - FTP Server: The Theory







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway