On Tue, Jul 17, 2001 at 05:57:09PM -0500, Ferguson, Doug wrote:
> You can't access the java:comp/env from the servlet.
> That namespace is only avaialble to ejbs.
Not true. You set up the ENC thingy (bad terminology day, sorry)
in jboss-web.xml. This only works if you're running the servlet
engine in the same JVM as JBoss.
> Then you still have to declare a ejb reference in your
> ejb-jar.xml for this namespace to be available.
For servlets, you do this in web.xml and jboss-web.xml.
> The avaiable to servlet via a lookup on java:ejb/Hello
Not sure where you got this from. You can use the JNDI name
of the EJB home directly, which will be something like
"Hello", but you should use the java:comp/env namespace like
the spec says.
Toby.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user