websphere EJB3 如何注入ConnectionFactory

软件名称:websphere

软件版本:7.0.0.9

环境平台:window

问题描述:websphere EJB3 如何注入ConnectionFactory?

    @Resource(mappedName  = "jms/tmqcfBus") ConnectionFactory qcf;

    @Resource(name  = "jms/tmqcfBus") ConnectionFactory qcf;

这2种写法都不行啊?
有哪位兄弟搞过这个?

附件:

附件图标abbr_364cf450994ba6490b3e7f65e173f676.doc (435 KB)

参与3

2同行回答

le0911le0911技术经理农信银资金清算中心
回复 2# blueheart     根据你的文档,我看到下面这一步的时候,“ go to the References tab” 这句我找不到地方?能帮我看一下吗?The first think to do is to setup the Resources. To do that, double click on Deployment Descriptor.On the new screen, go to ...显示全部
回复 2# blueheart


    根据你的文档,我看到下面这一步的时候,“ go to the References tab” 这句我找不到地方?
能帮我看一下吗?

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. 收起
银行 · 2010-07-05
浏览419
blueheartblueheart技术经理浙江兰德纵横网络技术有限公司
问题分析:问题解决思路:具体解决方法、建议:给你个附件,你看完就知道了。显示全部
问题分析:
问题解决思路:
具体解决方法、建议:
给你个附件,你看完就知道了。收起
互联网服务 · 2010-07-01
浏览431

提问者

le0911
技术经理农信银资金清算中心

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2010-07-01
  • 关注会员:1 人
  • 问题浏览:4277
  • 最近回答:2010-07-05
  • X社区推广