APPLICATION (for application)
This APPLICATION
element defines an application in an
external application configuration file.
Syntax
<APPLICATION [
Id=app-name]
[
mode=mode-name]
>
[
<DESCRIPTION>...</DESCRIPTION>]
[
<RESOURCE>...</RESOURCE>]
[...]
[
<EXECUTION>...</EXECUTION>]
[
<AUTO_LOGOUT>...</AUTO_LOGOUT>]
[
<UA_OUTPUT>...</UA_OUTPUT>]
[
<HTTP>...</HTTP>]
</APPLICATION>
- The app-name attribute identifies the application.
For external configuration files, the
Id
attribute is ignored. TheId
specified is compared to the application name in the request. - The SinglePageApplications attribute
identifies the applications defined under the
APPLICATIONS
element of the xcf file as a group of one or more independent applications that can be run in the same HTML page of the Genero Browser Client as the main application. - The mode-name attribute when set to "sticky", defines a web service as a sticky web service. See the Configure sticky Web services topic in the Genero Application Server User Guide.
Child elements
The APPLICATION
element may contain the following elements:
- Zero or one DESCRIPTION element.
- Zero or more RESOURCE elements.
- Zero or one EXECUTION (under APPLICATION for JGAS) elements.
- Zero or one AUTO_LOGOUT (for JGAS) elements.
- Zero or one UA_OUTPUT elements. This element is used for all UI applications.
- Zero or one HTTP (Dedicated) element.
Usage
You use this element to configure Web applications you wish to make accessible through the JGAS.
Example external Web application configuration file
<?xml version="1.0" encoding="UTF-8"?>
<APPLICATION>
<EXECUTION>
<PATH>$(res.path.fgldir.demo)</PATH>
<MODULE>demo.42r</MODULE>
</EXECUTION>
<AUTO_LOGOUT>
<TIMEOUT>$(app.timeout.autologout)</TIMEOUT>
</AUTO_LOGOUT>
<UA_OUTPUT>
<PROXY>$(res.uaproxy.cmd)</PROXY>
<PUBLIC_IMAGEPATH>$(res.public.resources)</PUBLIC_IMAGEPATH>
<GBC>gwc-dev</GBC>
<TIMEOUT Using="cpn.wa.timeout"/>
</UA_OUTPUT>
</APPLICATION>
For more information, see Configuring applications on JGAS
.
Parent elements
When used in an application configuration file (.xcf), it is the top-most element.