Oracle GlassFish Server 3.0.1 Application Deployment Guide

Subelements

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

Table C–144 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 Java EE XML file to a user or group. 

realm

zero or one 

Specifies an authentication realm.