Abstract applications
An application configuration element can specify a parent attribute that references an abstract application that provides default configurations.
An abstract application is not an executable application. It is only intended to be a parent application, providing configuration defaults for executable applications. You should create your own abstract application and use it as the parent for a set of programs that share common configurations.
Tip: If you use this inheritance mechanism efficiently, you can configure new
applications with only a few entries in the configuration file.
Important: Abstract applications can only be defined in the GAS configuration
file. They cannot be defined using an external application configuration file.
Default abstract Web application
The default application for the Genero Web client, defaultwa
, is found in
the Genero Application Server configuration file.
<!--This is the default application for Genero web client-->
<APPLICATION Id="defaultgwc" Parent="defaultwa" Abstract="TRUE">
<OUTPUT Rule="UseGWC">
</APPLICATION>
- This application inherits the configuration of the
defaultwa
abstract application, also defined in the GAS configuration file. - To specify an abstract application, set the Abstract attribute to TRUE.
- The OUTPUT Rule identifies which front-end is used to display the
application, as set in the
defaultwa
abstract application. In this case the front-end target is the Genero Browser Client (GBC).
Example for Web services abstract application
<APPLICATION Id="ws.default" Abstract="TRUE">
<EXECUTION Using="cpn.ws.execution.local"/>
<TIMEOUT Using="cpn.ws.timeout.set1"/>
</APPLICATION>