Next: A complete application
Up: Writing an Application
Previous: The starting point
Contents
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
- 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
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.
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.
Hrishikesh Mehendale
2003-04-03