The glassfish-application.xml visual editor lets you edit the application's
platform-specific deployment descriptor for the GlassFish server. You open the visual editor by expanding your project's Configuration
Files node in the Projects window and double-clicking the glassfish-application.xml file.
The glassfish-application.xml visual editor has the following tabs for editing descriptor properties:
Security. This tab enables you to edit the descriptor properties for security role mappings.
For more on setting the properties, see the following topic:
XML. This tab enables you to edit the descriptor file in the XML editor.
You may need to use the XML editor to edit the following descriptor properties:
Realm.
Optional authentication realm name, which is used to process all authentication
requests associated with this application. If this element is not specified
(or if it is given but does not match the name of a configured realm) then the
default realm set in the server instances security-service element is used.
Pass by reference.
This property determines whether EJB modules use pass-by-value or pass-by-reference semantics.
If no value is set, the application uses pass-by-value semantics, which the EJB specification requires.
The setting of this element in
the glassfish-application.xml file applies to all EJB modules in the application.
You can specify the property for individual EJBs in glassfish-ejb-jar.xml.
For more details about descriptor files on the Oracle GlassFish Server,
see the following documentation in the Oracle GlassFish Server 3.1 Application Deployment Guide.