Java Reference
In-Depth Information
JMS
The NetBeans IDE wizards help with the creation of JMS resources. To create a JMS resource from the IDE,
perform the following steps:
1.
Right-click on a project directory, or select File “New File” from the NetBeans File menu
to open the “New File” dialog.
2.
Select “Glassfish” from the “Categories” selection box of the “New File” dialog, and then
choose “JMS Resource” from the “File Types” selection box. This will open the “New JMS
Resource” dialog (Figure 12-13 ).
Figure 12-13. New JMS Resource
3.
Type a JNDI name for the resource, and then choose the resource type from the given
options. Once you've done this, press the “Next” button.
4.
Add any properties to the JMS resource using the “JMS Properties” panel of the “New JMS
Resource” dialog (Figure 12-14 ).
 
Search WWH ::




Custom Search