I need to configure the JBossNS to be able to look-up a queue. Clearly I will use a resource description to create the queue ie.
<resource-env-ref> <resource-env-ref-name>jms/MyTestQueue</resource-env-ref-name> <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type> </resource-env-ref>
There is no notion of a java:comp/env jndi naming environment for a pojo in the current jboss releases. Look at the ejb3 preview for an alternate.