Developing DataSnap Applications
Go Up to Key Application Types
The DataSnap technology continues to evolve, as the demands for distributed computing increase. The technology behind DataSnap has moved beyond the approach of remoting data through the Microsoft COM/DCOM to a more open communication approach based on TCP/IP. This evolution has allowed the DataSnap technology to expand its capabilities in order to include a complete middleware technology. One of the key features of the technology is that it is fast: fast to build, fast to deploy, and fast to execute in production.
DataSnap now has expanded capabilities, allowing the technology to work within almost any standards-based infrastructure. While the latest DataSnap is still backwards-compatible with the COM/DCOM approach, it now has the ability to communicate natively through TCP/IP, and alternatively through HTTP or HTTPS. At the same time, the business logic found in the DataSnap servers can be broadcast as RESTful services.
There are no additional charges to USE or DEPLOY the DataSnap technology.
High-Level Overview of DataSnap
DataSnap Connectors for Mobile Devices
You can now create applications for mobile devices such as the iPhone (iOS), Android (Java) devices, Blackberry (Java) devices, and Windows Phone 7 (C# Silverlight).
For more information, see:
- Getting Started with DataSnap Mobile Connectors
DataSnap Proxy Code Example
The Delphi code example DSProxyGenerator_(Delphi) demonstrates how to generate a DataSnap client proxy at run time.
DataSnap Sample Applications Available in Your Product Installation
You can find DataSnap sample applications (that are installed with RAD Studio) by choosing Start | Programs | Embarcadero RAD Studio | Samples. The folders of interest are DataSnapXE, containing DataSnap multiplatform demos, and Delphi\DataSnap, containing several DataSnap application examples. These DataSnap samples are called, by their folder name:
- Role Authorization Sample
- Basic DataSnap Client and Server Sample
- Chat Room Sample
- Failover - DataSnap HTTP Tunneling Sample
- JSON Viewer Sample
- Proxy Generator Sample
Also in the DataSnapXE folder there is a Readme.htm file that provides useful information about using the DataSnap XE multiplatform demos.
The source for the DataSnap samples in your product installation is checked into a public Subversion repository that can be found on SourceForge:
To check out a copy of the Subversion repository containing the DataSnap sample applications, go to this Subversion checkout link. Furthermore, you can commit changes to the samples and also update your local copies to acquire the latest changes made to the samples on SourceForge.
The following videos provide more information regarding the DataSnap technology:
- Developing Multi-Tier Solutions Using DataSnap
- DataSnap Tooling
- Building DataSnap Clients and Servers
- DataSnap Overview and Architecture
- DataExplorer support for DataSnap
- Using a DataSnap Server with an Application (Tutorial)
- DataSnap Server Application
- DataSnap Client Application
- Authentication and Authorization
- Server Side Session Management
- Cloud Computing with DataSnap
- Deployment Manager
- DataSnap Connectors for Mobile Devices
- Tutorial: Using a DataSnap Server with an Application
- Tutorial: Using LiveBinding to Create an Application Without Code
- Videos: Building DataSnap Clients and Servers, by Bob Swart
- Video: Developing Multi-Tier Solutions Using DataSnap, by Adrian Andrei
- Video: DataSnap Tooling, by Jim Tierney
- Videos: Delphi Labs, by Paweł Głowacki
- Creating multi-tiered applications
- Understanding Multi-tiered Database Applications
- Connecting to the Application Server using DataSnap Components
- DataSnap Server Controls
- DataSnap Client Controls