I have promised myself to publish one new DataSnap "Delphi Labs" episode every week in this quarter. It is Friday afternoon and the new "DataSnap XE: Testing Servers in Data Explorer" article is published.
The beauty of rapid application development is that you can build complex systems by assembling components. This approach to building software applications shines when applied to Delphi DataSnap programming. In a matter of minutes you can create a multithreaded server application, capable of servicing many concurrent clients and listening on multiple communication ports simultaneously.
In the article I’m using Delphi XE to build a DataSnap standalone server listening on multiple TCP/IP and HTTP ports. Instead of building a client for it, I have just tested its functionality in Data Explorer that is part of the RAD Studio IDE.
This step-by-step tutorial is intentionally very simple, so even not experienced Delphi programmers should be able to build projects described here. The objective of this lab exercise is to understand the architecture of DataSnap servers with multiple transport components and learn how to use “Data Explorer” for testing server instances using multiple possible ways of communicating with the server.
“Testing Servers in Data Explorer” demo project consists of a server DataSnap VCL Forms application that is listening on TCP/IP ports 211 and 212 and on the HTTP port 8080.
Delphi Labs: DataSnap XE - Testing Servers in Data Explorer