The Messaging tab of the deployment descriptor visual editor lets you edit the platform-specific deployment descriptors for GlassFish application server. This pane lists the JMS message destinations in the project and enables you to provide a reference to any resource from which the application is going to send or receive messages.
A web or enterprise application will only contain the glassfish-web.xml, glassfish-ejb-jar.xml or glassfish-application-client.xml deployment descriptors if the target server is the GlassFish server.
You get to this pane by expanding your project's Configuration Files node in the Projects window and double-clicking glassfish-web.xml, glassfish-ejb-jar.xml or glassfish-application-client.xml and clicking the Messaging tab.
Click Add Message Destination to add descriptor properties for a message destination. Each message destination has the following properties:
Note that the message destination name must match the corresponding message destination name in the web.xml file.