Right Java tools for J2EE, Web Service, Grid and more
|Home | Products | Documents | Downloads | Purchase | Support | Company | Partners | Contact |

Setup example for EasyJMS tutorial

This document tells how to setup JMS services for EasyJMS tutorial. If you do not set these services, you still can go through the tutorial by using your own connection factory and destination.


Setup for Weblogic 9

The setup procedure uses the administration console.

  1. On the left pane, click on Lock & Edit.
  2. On the left pane, click on: Services > Messaging > JMS Servers.
  3. From now on, we are working on the right pane.
  4. Click on New button.
  5. In the Name field, key in JmsExampleServer. Then, click on the Next button.
  6. Select a target. For example, AdminServer. Then click on the Finish button.
  7. You come back to the "Summary of JMS Servers" panel. If you see JmsExampleServer listed on the table. It is done.
  8. Click on JMS Modules.
  9. Click on the New button.
  10. In the Name field, key in JmsExampleModule. Then click on the Next button.
  11. Select target. For example, SdminServer. Then  click on the Next button.
  12. Check "Would you like to add resources to this JMS system module?". Then click on the Finish button.
  13. You are in "Settings for JmsExampleModule" panel.
  14. Click on the New button.
  15. Select Connection Factory radio button. Then click on the Next button.
  16. Key in JmsExampleFactory for both Name and JNDI Name fields. Then click on the Finish button.
  17. You are back to "Settings for JmsExampleModule" panel. If you can see JmsExampleFactory listed on the table, it is done.
  18. Click the New button.
  19. Select Topic radio button, then click the Next button.
  20. In the Name field, key in JmsExampleTopic.
  21. In the JNDI Name field, key in JmsExampleTopic.
  22. Select the Target: JmsExampleServer.
  23. Click the Finish button.
  24. You come back to the "Settings for JmsExample" panel. If you see JmsExampleTopic listed on the table. It is done.

On the lift pane, click the Activate Changes button.

Setup for Websphere 6

The setup procedure uses the administration console.

Setup Activation Specification

  1. On the left pane, click on: Resource > JMS Provider > Default messaging.
  2. On the right pane, click on: Activation Specification.
  3. In the "Default messaging provider > JMS activation specification" panel: click on the New button.
  4. In the Name field, key in: JmsExampleTopicAS.
  5. In the JNDI name field, key in: JmsExampleTopicAS.
  6. On Destination type: select Topic.
  7. In the Destination JNDI name field, key in: JmsExampleTopic.
  8. Click Ok button.
  9. Click Save link.
  10. Click Save button.
  11. You come back to the "Default messaging provider > JMS activation specification" panel. If you can see JmsExampleTopicAS listed on the table, it is done.

Setup destination

  1. On the left pane, click on: Resource > JMS Provider > Default messaging.
  2. On the right pane, click on: JMS topic.
  3. Click on New button.
  4. In the "Default messaging provider > JMS topic > JmsExampleTopic" panel: in the Name field, key in JmsExampleTopic.
  5. In the JNDI name field, key in JmsExampleTopic.
  6. On Topic space: select Default.Topic.Space.
  7. Click Ok button.
  8. Click Save link.
  9. Click Save button.
  10. You come back to the "Default messaging provider > JMS topic" panel. If you can see JmsExampleTopic listed on the table, it is done.

 

 


   © Copyright 1999-2008 Acelet Corporation. All rights reserved.