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

- Previous: Sun Java System Application Server Descriptors
- Next: The sun-web.xml File

# The sun-application.xml File

The element hierarchy in the `sun-application.xml` file is as follows:

    sun-application
    .  web
    .  .  web-uri
    .  .  context-root
    .  pass-by-reference
    .  unique-id
    .  security-role-mapping
    .  .  role-name
    .  .  principal-name
    .  .  group-name
    .  realm

Here is a sample `sun-application.xml` file:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-application PUBLIC '-//Sun Microsystems, Inc.//DTD Application
    Server 8.1 J2EE Application 1.4//EN'
    'http://www.sun.com/software/appserver/dtds/sun-application_1_4-0.dtd'>
    <sun-application>
       <unique-id>67488732739338240</unique-id>
    </sun-application>

- Previous: Sun Java System Application Server Descriptors
- Next: The sun-web.xml File

- © 2010, Oracle Corporation and/or its affiliates