Creating DataSnap Apache modules

One of the Delphi features most awaited by server side Delphi developers is the support for the building of Apache webserver module. Delphi XE6 brings this feature! The most recent Apache versions supported are Versions 2.0, 2.2 and 2.4. An apache module is compatible only with the specific version for which it has been compiled. So, be sure about the apache version you have to deploy your module before creating the project. However, it's possible to change the target apache version just by changing its unit name.

Getting ready

In this recipe, we'll create a very simple REST service with only one method, which returns a list of people. The service will be built using the Embarcadero DataSnap framework and the service ...

Get Delphi Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.