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 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 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
When you define a Web service application, you can specify the following elements:
- Zero or one DESCRIPTION element.
- Zero or more RESOURCE elements.
- Zero or one PROXY (for a service) element
- Zero or one EXECUTION element.
- Zero or more TIMEOUT elements.
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.