Developing Web applications / Genero Web Services |
To simplify application configuration, an application can specify a parent application to provides default configuration settings needed to run the application. An abstract application is an application that is created not as an executable, but to be a parent 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.
To specify an abstract application, set the Abstract attribute to TRUE.
<APPLICATION Id="defaultwa" Abstract="TRUE"> <EXECUTION Using="cpn.wa.execution.local"/> <OUTPUT> <MAP Id="DUA_GWC" Allowed="FALSE"/> <MAP Id="DUA_GDC" Allowed="FALSE"/> </OUTPUT> </APPLICATION>
In this example, DUA_GWC and DUA_GDC are OutputMap, which indicates the Front End used to display the application. No OutputMap is enabled as the attribute Allowed is set to FALSE.
<APPLICATION Id="ws.default" Abstract="TRUE"> <EXECUTION Using="cpn.ws.execution.local"/> <TIMEOUT Using="cpn.ws.timeout.set1"/> </APPLICATION>