The APPLICATION_SERVER element / The APPLICATION_LIST element |
An APPLICATION element defines an application. Attributes for this element include:
Id (required for applications defined within the Genero Application Server configuration file; optional for applications defined in an external application configuration file) - A string used to uniquely identify this 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 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.
The APPLICATION element may contain the following elements:
Zero or one DESCRIPTION element.
Zero or more RESOURCE elements.
Zero or one EXECUTION elements.
Zero or one OUTPUT elements.
<APPLICATION Id="gwc-demo" Parent="defaultgwc"> <EXECUTION> <PATH>$(res.path.fgldir.demo)</PATH> <MODULE>demo.42r</MODULE> </EXECUTION> <OUTPUT> </OUTPUT> </APPLICATION>
For more information, see Adding Applications.