聚合资讯    词典    My blog    Tag   
hi! | 关于
专注于Java技术、开源项目、项目管理

标签 - 分类 : 全部 | UNIX | 随笔 | 数据库 | Java技术 | 网摘文章
This is a basic example of how to implement Messaging in Java using JMS and Message driven beans. The example is implemented using Weblogic JMS implementation. This part describes how to configure a queue on weblogic, the next part will describe the programming involved to run the example.Follow these steps to configure a queue in Weblogic:
  1. Create a JMS Server
    1. In the admin console go to Home > Summary of Services: JMS > Summary of JMS Servers and click on Lock & Edit and then click on New.
    2. In the next screen choose a name and create a new File Store and click next.
    3. Select the deployment target and finish.
  2. Create a JMS Module: Go to JMS Modules in the Admin console and create a new module, accept defaults.
  3. Create a Connection Factory: Go to Home > JMS Modules > jmsModule. Select new and create a new connection factory. Set the JNDI name to jms/connectionFactory
  4. Create a Destination: Go to Home > JMS Modules > jmsModule and Create a new Queue and set the JNDI name to jms/testQueue. When creating a queue, select "create a new Sub deployment" and create a new sub-deployment.
标签 : ,



置评

标题
正文
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
姓名
电邮地址
网站
记住我 是  否 

电邮地址将不会发表在公开网页上,您留下的电邮地址仅用于本文有新评论时通知您(以后可以随时拿掉).

回接到 http://www.searchfull.net:80/blog/addTrackBack.action?entry=1211963268833