DA Server sample (Delphi)

DA Server is a standalone executable server provided with Data Abstract for Delphi. DA Server can be run as a standalone application or as a Windows Service that provides the Simple and PCTrade schemas from the DASamples domain for sample applications to connect to.

There are two versions of the sample: RODL- and CodeFirst-based.

Getting Started

The sample is located in C:\Users\Public\Documents\RemObjects Samples\Data Abstract for Delphi\DAServer.

To build it, you will need Delphi RAD Studio.

Running the Sample

When you start DA Server as a standalone application (DAServer.exe), it looks like this and provides a means to change the port that it listens on:

When DA Server is started on 7099 port, it can emulate Relativity Server required for launching other Delphi samples.

To instead run DA Server as a Windows Service, simply install it by running "DAServer.exe /install" from the command line on a prompt that was run as Administrator. Once that is done, you can start and stop DA Server like any other Windows Service, using the Services Management Console, or the "net start/stop" command line tool. It can also be uninstalled by running "DAServer.exe /uninstall".

When running as a Windows Service, DA Server of course will not display a GUI and will use 7099 port by default.