company logo

Object server clients

In order to access data stored on an object server, one needs to configure the data source by setting server name and server port directly in the data source or via configuration or ini-file (see example below). One may define a server connection globally (on top of the ini-file outside any section) or separately for each data source, which allows connecting different data sources with different servers.

Option variables for databases and dictionaries have to be defined on server side in a file catalog, which is, in the simple case, just a special section in the server's configuration or ini-file.


SERVER_URL=my-server.com

SERVER_PORT=6123

[SYSTEM]

DICTIONARY=%ODABA_ROOT%\ode.sys

[RESOURCES]

DICTIONARY=[

PATH=%ODABA_ROOT%\ode.sys

CONNECTION=local]

DATABASE=[

PATH=Sample.dev

CONNECTION=local]

ACCESS_MODE=Read

SHARE=YES

[DATABASE]

DICTIONARY=Sample.dev

DICTIONARY.CONNECTION=local

DATABASE=%Sample_DAT%

ACCESS_MODE=Write