Tuesday, September 24, 2002 02:45 AM
You can use the java:comp/env virtual context
for accessing resources referenced in the deployment descriptors.
For example, if you define an ejb-ref element in your web.xml to reference a separately deployed EJB, you can access that EJB via java:comp/env. If you didn't define a reference, you have to use the real JNDI name, like my.package.structure.MyEJB.
Please, correct me if I'm wrong cos' it's been a while since I've done these things.