1. Overview of Oracle GlassFish Server 3.1 Application Deployment
A. The asadmin Deployment Subcommands
B. GlassFish Server Deployment Descriptor Files
About the GlassFish Server Deployment Descriptors
The glassfish-application.xml File
The glassfish-ejb-jar.xml File
The glassfish-resources.xml File
WebLogic Server Deployment Descriptor Support in GlassFish Server
The glassfish-application-client.xml file configures an Application Client Container (ACC) client (JAR file). The element hierarchy is as follows:
glassfish-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-ref . . message-destination-ref-name . . jndi-name . message-destination . . message-destination-name . . jndi-name . java-web-start-access . . context-root . . eligible . . vendor . . jnlp-doc . version-identifier
Here is a sample glassfish-application-client.xml file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE glassfish-application-client PUBLIC ""-//GlassFish.org//DTD GlassFish Application Server 3.1 Application Client 6.0//EN"" "http://glassfish.org/dtds/glassfish-application-client_6_0-1.dtd"> <glassfish-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> </glassfish-application-client>