Unwrap Your Holiday Gifts - Up to 30% OFF Shop Now

RAD Studio 12.2 Now Available! 了解更多信息

Ready to take your apps to the next level? Upgrade to Enterprise today. 联系销售人员

See What's New in RAD Studio 12.2 Athens Watch the Replay

Delphi 12 and C++Builder 12 Community Editions Released! 了解更多信息

InterBase 2020 Update 6, released! 了解更多信息

Discover The Getit Page

Deep discounts available on InterBase 2020 for OEM or VARs – 联系销售人员

Renew your Update Subscription license now Read more

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.

Featured Webinar

Bob Swart presents: DataSnap XE in the real world

getthewebinarreplay-btn

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
Expert White Paper
DataSnap_XE_in_Action_Thumbnail

DataSnap in Action!

Learn how to write a real-world DataSnap server and client application


getexpertwhitepaper-btn

About the Presenter

Bob SwartBob 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

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.

Latest Offers

DCP-221x200_webinar_on-demand