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>
  1. The app-name identifies the application. For external configuration files, the Id attribute is ignored. The Id specified is compared to the application name in the request.
  2. 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:

  1. Zero or one DESCRIPTION element.
  2. Zero or more RESOURCE elements.
  3. Zero or one EXECUTION (under APPLICATION for JGAS) elements.
  4. Zero or one AUTO_LOGOUT (for JGAS) elements.
  5. Zero or one UA_OUTPUT elements. This element is used for all UI applications.

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.