users@jersey.java.net

[Jersey] Jersey test framework with JNDI resources

From: Mike Key <mikey_at_zenbitz.com>
Date: Sun, 16 Jan 2011 16:48:04 -0700

I am trying to use the Jersey test framework with a web application that
includes some JMS resources normally looked up through JNDI. For
example I have the following in my spring config:

<jee:jndi-lookup id="connectionFactory"
                    jndi-name="jms/connectionFactory"
                    resource-ref="true"/>

I am struggling to figure out how to add a JNDI configuration to the
grizzly configuration. Can someone point me to or lead me in the right
direction on how to setup JNDI resources in a Jersey test framework setup?

Thanks in advance.

Mike Key