java:comp/env is base context lookup for application clients. If you are writing application client like servlets/jsp or simple java application client there you have to wirte ejb-ref in web.xml or ejb-client-jar.xml. Once you have ejb-ref declared for application client in the code you can lookup with java:comp/env naming context.
Kesav ----- Original Message ----- From: "Mulder, Frans" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, December 27, 2001 8:20 AM Subject: Registering of EJB's > I read somewhere that the EJB specification recommends that EJB containers > register EJB's under the java:comp/env/ejb context. However, Orion doesn't > seem to do this, unless you specify so explicitly in your ejb-jar.xml. Why > is this? >