This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Then the bean will be bound to the java:comp/env/someReferenceNameToTheEJB
So your lookup code will be:
Here's an extract from the web.xml dtd which has an explanation for the same:
The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the web application's environment and is relative to the java:comp/env context. The name must be unique within the web application.
[ July 26, 2006: Message edited by: jaikiran pai ]