The tutorial does mention it ;-) Check out section 6.4 of the hello world 
tutorial.
anonymous wrote : 6.4 Binding references to actual resources
  | 
  | We proceed to bind the destination and connection factory references to 
resources that exist in the operational environment. This task is specific to 
the target application server. For JBoss we write a jboss-web.xml descriptor 
and place it in directory web.

<jboss-web>
  | 
  |   <message-destination-ref>
  |     <!-- destination reference (in web.xml) -->
  |     
<message-destination-ref-name>jms/callerQueue</message-destination-ref-name>
  |     <!-- actual resource in the global JNDI context -->
  |     <jndi-name>queue/testQueue</jndi-name>
  |   </message-destination-ref>
  | 
  |   <resource-ref>
  |     <!-- connection factory reference (in web.xml) -->
  |     <res-ref-name>jms/ConnectionFactory</res-ref-name>
  |     <!-- actual resource in the java JNDI context -->
  |     <jndi-name>java:ConnectionFactory</jndi-name>
  |   </resource-ref>
  | 
  | </jboss-web>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940836#3940836

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940836


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to