Exit Print View

Sun GlassFish Enterprise Server v3 Application Deployment Guide

  This Document Entire Library
Print View

Document Information

Preface

1.  Overview of Sun GlassFish Enterprise Server v3 Application Deployment

2.  Deploying Applications

A.  The asadmin Deployment Subcommands

B.  Enterprise Server Deployment Descriptor Files

About the Enterprise Server Deployment Descriptors

The sun-application.xml File

The sun-web.xml File

The sun-ejb-jar.xml File

The sun-cmp-mappings.xml File

The sun-application-client.xml file

The sun-acc.xml File

The sun-resources.xml File

C.  Elements of the Enterprise Server Deployment Descriptors

Index

The sun-application.xml File

The sun-application.xml file configures an entire Java EE application (EAR file). The element hierarchy 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
.  ejb-ref
.  resource-ref
.  resource-env-ref
.  service-ref
.  message-destination-ref
.  message-destination
.  archive-name
.  compatibility

Here is a sample sun-application.xml file:

<!DOCTYPE sun-application PUBLIC "-//Sun Microsystems, Inc.//DTD 
GlassFish Application Server 3.0 Java EE Application 6.0//EN" 
"http://www.sun.com/software/appserver/dtds/sun-application_6_0-0.dtd">
<sun-application>
   <unique-id>67488732739338240</unique-id>
</sun-application>