附件:
The first think to do is to setup the Resources. To do that, double click on Deployment Descriptor.
On the new screen, go to the References tab. Click on Add button and follow the steps:
Select Resource reference. Name: jms/messageQueueCF Type: javax.jms.QueueConnectionFactory Authentication: Container click on Ok button. JNDI name: jms/messageQueueCF. 收起