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-client.xml file

The sun-application-client.xml file configures an Application Client Container (ACC) client (JAR file). The element hierarchy is as follows:

sun-application-client
.  ejb-ref
.  .  ejb-ref-name
.  .  jndi-name
.  resource-ref
.  .  res-ref-name
.  .  jndi-name
.  .  default-resource-principal
.  .  .  name
.  .  .  password
.  resource-env-ref
.  .  resource-env-ref-name
.  .  jndi-name
.  service-ref
.  .  service-ref-name
.  .  port-info
.  .  .  service-endpoint-interface
.  .  .  wsdl-port
.  .  .  .  namespaceURI
.  .  .  .  localpart
.  .  .  stub-property
.  .  .  .  name
.  .  .  .  value
.  .  .  call-property
.  .  .  .  name
.  .  .  .  value
.  .  .  message-security-binding
.  .  .  .  message-security
.  .  .  .  .  message
.  .  .  .  .  .  java-method
.  .  .  .  .  .  .  method-name
.  .  .  .  .  .  .  method-params
.  .  .  .  .  .  .  .  method-param
.  .  .  .  .  .  operation-name
.  .  .  .  .  request-protection
.  .  .  .  .  response-protection
.  .  call-property
.  .  .  name
.  .  .  value
.  .  wsdl-override
.  .  service-impl-class
.  .  service-qname
.  .  .  namespaceURI
.  .  .  localpart
.  message-destination
.  .  message-destination-name
.  .  jndi-name
.  message-destination-ref
.  .  message-destination-ref-name
.  .  jndi-name
.  java-web-start-access
.  .  context-root
.  .  eligible
.  .  vendor

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

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-application-client PUBLIC ""-//Sun Microsystems, Inc.//DTD 
GlassFish Application Server 3.0 Application Client 6.0//EN"" 
"http://www.sun.com/software/appserver/dtds/sun-application-client_6_0-0.dtd">
<sun-application-client>
  <message-destination-ref>
    <message-destination-ref-name>ClientQueue</message-destination-ref-name>
    <jndi-name>jms/security_mdb_OutQueue</jndi-name>
  </message-destination-ref>
</sun-application-client>