Next: A complete application
Up: Writing an Application
Previous: The starting point
OAS needs a configuration file to start with. This configuration file
defines the environment the application needs to operate with.
Some of the significant settings are
Unless these settings are properly configured, OAS cannot start. It
has reasonable defaults for thread pool sizes but the application
name and library are mandatory settings.
- Initial Size of various thread pools
- The shared library which carries the request handler component
- The log file and other settings
- Name of the application
- Name of the Unix domain socket on which web server redirects the request
Apart from these variables which are specific to OAS, an application
can define any other variables which are in name=value format.
They will be stored in internally and an application can query a particular
variable. This will save trouble for application developer to write
yet another config file parser.