Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

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–111 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.