users@glassfish.java.net

Using JAX-WS inside EJB Module to get environment entries

From: <glassfish_at_javadesktop.org>
Date: Fri, 29 Jun 2007 10:57:27 PDT

I'm wokring on an ejb module that has a jax-ws web service. I need to be able to pull a string from the ejb-jar.xml file or another configuration file an inject that into the webservice stateless bean. I've tried to put the env-entry in the ejb-jar.xml file and then annontate the bean with @Resource String test, but had no success. The variable is always set to null. Any Ideas?
[Message sent by forum member 'jugheadny' (jugheadny)]

http://forums.java.net/jive/thread.jspa?messageID=224722