Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: stub-property
- Next: sun-application-client

## sun-application

Defines the Application Server specific configuration for an application. This is the root element; there can only be one `sun-application` element in a `sun-application.xml` file. See The sun-application.xml File.

### Superelements

none

### Subelements

The following table describes subelements for the `sun-application` element.

Table A–114 `sun-application` Subelements

Element | Required | Description
--- | --- | ---
web | zero or more | Specifies the application’s web tier configuration.
pass-by-reference | zero or one | Determines whether EJB modules use pass-by-value or pass-by-reference semantics.
unique-id | zero or one | Contains the unique ID for the application.
security-role-mapping | zero or more | Maps a role in the corresponding J2EE XML file to a user or group.
realm | zero or one | Specifies an authentication realm.

- Previous: stub-property
- Next: sun-application-client

- © 2010, Oracle Corporation and/or its affiliates