This content has been marked as final.
Show 2 replies
-
1. Re: JNDI naming for EJBs
starksm64 Mar 23, 2004 7:47 PM (in response to ahardy66)In order for a web client to be able to use initContext.lookup("java:/comp/env/ejb/AdamsFacade"), it has to define an ejb-ref or ejb-local-ref in its web.xml descriptor. If the war is in an ear with the target ejbs this can also specify the ejb-link to complete the binding. Otherwise, the ref must be made using the jboss-web.xml descriptor.
This is standard j2ee stuff. -
2. Re: JNDI naming for EJBs
ahardy66 Mar 24, 2004 4:47 AM (in response to ahardy66)Great, thanks for info.
One more Q: is there a big performance hit if I initialize my context with the external form "localhost:1099" when it's not necessary?