APPLICATION (for a service)
This APPLICATION element defines a service  in an
external application configuration file.
Syntax
<APPLICATION [Id="app-name"]
       [mode="mode-name"]>
   [<DESCRIPTION>...</DESCRIPTION>]
   [<RESOURCE>...</RESOURCE>] [...]
   [<PROXY>...</PROXY>]
   [<EXECUTION>...</EXECUTION>]
   [<TIMEOUT>...</TIMEOUT>]
</APPLICATION>
- The app-name identifies the application.  For external configuration files, the
Idattribute is ignored. TheIdspecified 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
When you define a Web service application, you can specify the following elements:
- Zero or one 
DESCRIPTIONelement. - Zero or more 
RESOURCEelements. - Zero or one 
PROXY (for a service)element - Zero or one 
EXECUTIONelement. - Zero or more 
TIMEOUTelements. 
Usage
You use this element to configure Web services you wish to make accessible through the JGAS.
Example usage
<APPLICATION Id="webapp" >
  <EXECUTION>
    <PATH>$(res.path.fgldir.demo)</PATH>
    <MODULE>webapp.42r</MODULE>
  </EXECUTION>
  <TIMEOUT> </TIMEOUT>
</APPLICATION>
Parent elements
When used in an application configuration file (.xcf), it is the top-most element.