EJB Lookup
843829Sep 8 2003 — edited Sep 12 2003Hello everyone
I am having trouble looking up ejb on the application server. I have deployed individual ejb modules in the application server and I am trying to directly access them with an application client (Swing GUI), but I am not sure why my lookup is not working correctly, because I am not getting anything back. The exception says the class is unkown, so to understand the problem better can anyone tell me what this means where the path is referring to:
InitialContext ctx = new InitialContext()
Object obj = (Object)initialContext.lookup("java:comp/env/);
so where is "java:comp/env" referring to? is this the path where the ejb is located? how can I interpret this?
Thank,