Java Reference
In-Depth Information
5. Select the radio button for the resource type.
Normally,
this
is
either javax.jms.Queue , javax.jms.Topic ,
or
javax.jms.ConnectionFactory .
6. Click Next.
The JMS Properties page opens.
7. For a queue or topic, type a name for a physical queue in the Value field for
the Name property.
You can type any value for this required field.
Connection factories have no required properties. In a few situations, discussed in
later sections, you may need to specify a property.
8. Click Finish.
A file named glassfish-resources.xml is created in your project, in a dir-
ectory named setup . In the project pane, you can find it under the Server Re-
sources node. If this file exists, resources are created automatically by NetBeans
IDE when you deploy the project.
To Delete JMS Resources Using NetBeans IDE
1. In the Services pane, expand the Servers node, then expand the GlassFish
Server 3+ node.
2. Expand the Resources node, then expand the Connector Resources node.
3. Expand the Admin Object Resources node.
4. Right-click any destination you want to remove and select Unregister.
5. Expand the Connector Connection Pools node.
6. Right-click any connection factory you want to remove and select Unregister.
Every connection factory has both a connector connection pool and an associated
connector resource. When you remove the connector connection pool, the resource
is removed automatically. You can verify the removal by expanding the Connector
Resources node.
Running the Clients for the Synchronous Receive Example
To run these examples using the GlassFish Server, package each one in an application cli-
ent JAR file. The application client JAR file requires a manifest file, located in the src/
conf directory for each example, along with the .class file.
Search WWH ::




Custom Search