Abstract applications
An abstract application provides default configurations that you can reference in many of your application configurations.
An abstract application is not an executable application. It is only intended to be a parent
application that you can reference via a Parent
attribute in an application element
of your application configuration. For example, you can take advantage of this feature to create
your own abstract application and use it as the parent for a set of programs that share common
configurations.
If you use this inheritance mechanism efficiently, you can configure new applications with only a few entries in the configuration file.
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 thedefaultwa
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>