|
Right Java tools for J2EE, Web Service, Grid and more
|
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.
- On the left pane, click on Lock & Edit.
- On the left pane, click on: Services > Messaging > JMS Servers.
- From now on, we are working on the right pane.
- Click on New button.
- In the Name field, key in JmsExampleServer. Then, click on
the Next button.
- Select a target. For example, AdminServer. Then click on the Finish
button.
- You come back to the "Summary
of JMS
Servers" panel. If you see JmsExampleServer listed on the table. It is done.
- Click on JMS Modules.
- Click on the New button.
- In the Name field, key in JmsExampleModule. Then click on the Next
button.
- Select target. For example, SdminServer. Then click on the Next
button.
- Check
"Would you like to add resources to this JMS system module?". Then click on
the Finish button.
- You are in "Settings
for JmsExampleModule" panel.
- Click on the New button.
- Select Connection Factory
radio button. Then click on the Next button.
- Key in JmsExampleFactory for
both Name and JNDI Name fields. Then click on the Finish button.
- You are back to "Settings
for JmsExampleModule" panel. If you can see JmsExampleFactory listed on the
table, it is done.
- Click the New button.
- Select Topic radio button, then click the Next button.
- In the Name field, key in JmsExampleTopic.
- In the JNDI Name field, key in JmsExampleTopic.
- Select the Target: JmsExampleServer.
- Click the Finish button.
- 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
- On the left pane, click on: Resource > JMS Provider > Default
messaging.
- On the right pane, click on: Activation Specification.
- In the "Default messaging provider > JMS activation specification"
panel: click on the New button.
- In the Name field, key in: JmsExampleTopicAS.
- In the JNDI name field, key in: JmsExampleTopicAS.
- On Destination type: select Topic.
- In the Destination JNDI name field, key in: JmsExampleTopic.
- Click Ok button.
- Click Save link.
- Click Save button.
- 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
- On the left pane, click on: Resource > JMS Provider > Default
messaging.
- On the right pane, click on: JMS topic.
- Click on New button.
- In the "Default messaging provider > JMS topic > JmsExampleTopic"
panel: in the Name field, key in JmsExampleTopic.
- In the JNDI name field, key in JmsExampleTopic.
- On Topic space: select Default.Topic.Space.
- Click Ok button.
- Click Save link.
- Click Save button.
- 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.