We would like to have some sort of config file for setting some parameters for the server. Example setting port number that the server should listen to.
port=8080
When starting the application the config file should be read and all key and values found should be stored in the applications memory so it can be used by other parts of the program.
Open questions are:
- What format should we use for the config file?
- Should it be allowed to write any key, value or only some predefined ones with default values if not specified?
- What should happen when there are errors in parsing the file?
- Where should the file be located, what folder?
We would like to have some sort of config file for setting some parameters for the server. Example setting port number that the server should listen to.
port=8080
When starting the application the config file should be read and all key and values found should be stored in the applications memory so it can be used by other parts of the program.
Open questions are: