GAS Configuration Reference / Configuration file elements |
An APPLICATION element defines an application. For each Web Service you wish to make accessible through the Genero Application Server, you must create an APPLICATION element. Attributes for this element include:
Id (required for Web services applications defined within the Genero Application Server configuration file; optional for applications defined in an external application configuration file) - A string to uniquely identify this Web service application configuration element. The Id specified is compared to the application name in the request.
Parent - A string that identifies the parent application, or the application from which this application will inherit its default configuration/settings.
Abstract - Defines whether this application configuration element is an abstract application. It expects a boolean string; the valid values for this type are "TRUE" and "FALSE". An Abstract application can not instantiate Virtual Machines. Abstract configurations are used purely in the scope of future inheritance of the configuration for other Web services applications. Abstract applications can only be defined in the application server configuration file, they cannot be defined in an external application configuration file.
mode - When set to "sticky", defines a Web service as a sticky Web service.
When you define a Web service application, you can specify the following elements:
<APPLICATION Id="webapp" Parent="abswebapp"> <EXECUTION> <PATH>$(res.path.fgldir.demo)</PATH> <MODULE>webapp.42r</MODULE> </EXECUTION> <TIMEOUT> </TIMEOUT> </APPLICATION>
When used in the GAS configuration file, this element is a child of one of the following elements: SERVICE_LIST