This information was originally created for the XE version of RAD Studio. It also applies to RAD Studio XE2.
Embarcadero® RAD Studio XE is the most popular release in years, in large part due to DataSnap XE. The DataSnap® framework, in the Enterprise, Ultimate and Architect editions of Delphi, C++Builder and RAD Studio, enables you to build multi-tier applications with the server built in Delphi and C++Builder, and connect with them via a wide variety of clients and protocols. Join Embarcadero and Bob Swart for a walk through a real world DataSnap application, covering topics like security, authentication, and deployment.
Bob Swart presents: DataSnap XE in the real world
In this webinar, we'll see how to create a small but real-world DataSnap Server and client application, including security and deployment details. Security details that are demonstrated include authentication (login, who can access the server) and role-based authorization (who can execute which server methods), including authorization rules for exported TDataSetProviders.
The DataSnap Server is shown to expose both simple server methods, server methods that expose read-only data (using a TSqlServerMethod component at the client side) as well as exported TDataSetProvider with master-detail nested datasets. To make things even more interesting, the datasets are using autoincrement primary keys.
Topics that are covered include:
- Creating DataSnap server in Delphi, examining possible server targets and deployment strategies
- Adding security using Authorization (login) and role-based Authentication (for server methods and TDataSetProviders)
- Exporting and updating nested-datasets using autoincrement primary keys
DataSnap in Action!
Learn how to write a real-world DataSnap server and client application
About the Presenter
Bob Swart
Bob Swart (aka Dr.Bob) is an IT consultant, developer, reseller, author, trainer and webmaster for his company Bob Swart Training & Consultancy (eBob42) based in Helmond, The Netherlands. Bob has spoken at Delphi Conferences since 1993. Bob is co-author of several books and contributing author for numerous computer magazines. His courseware manuals are sold world-wide from Lulu.com or via his own website (including e-mail support and free updates). Bob leads the Delphi section of the Dutch Software Development Network, and is webmaster and member of the UK Developers Group.
About RAD Studio XE2
Embarcadero RAD Studio XE2 is the ultimate application development suite and the fastest way to build data-rich, visually engaging applications for Windows, Mac, mobile, .NET, PHP and the Web. RAD Studio includes Delphi®, C++Builder®, Embarcadero Prism™ and RadPHP™, enabling developers to deliver applications up to 5x faster across multiple desktop, mobile, Web, and database platforms including Delphi applications for 64-bit Windows.
Additional Free Downloads
More DataSnap videos and white paper
Tutorial Videos
Click a video title to view the video:
DataSnap XE Server
In this video, Bob demonstrates how we can use the new Delphi XE DataSnap wizards to produce a DataSnap Server project skeleton. He discusses the possible options, their effect, and uses the wizard to start a real and secure DataSnap XE server project.
DataSnap Server Security
In this video, Bob shows how we can add security to a DataSnap XE server application, using both Authentication and Authorization. For Authentication, we’ll implement login, determining the user’s true identity using the OnUserAuthenticate event handler. For Authorization, we’ll use a pessimistic Role Based User Authorization, where you are not able to call anything, unless explicitly allowed.
DataSnap Client
In this video, Bob demonstrates how a DataSnap client application can connect to the server in a secure way, and how both the authentication and authorization is satisfied in order to be able to call server methods and use exporter TDataSetProviders.