APPLICATION (for an 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>]
</APPLICATION>
- The app-name identifies the application. For external configuration files, the
Id
attribute is ignored. TheId
specified is compared to the application name in the request. - The mode-name 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 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.