Hi again! Lasantha, I would also like to here your comment about the lookup string!
Best regards / Mattias
In the servlet I use Object objref = initial.lookup("java:comp/env/ejb/MyTest");I guess that "java:comp/env/ejb/MyTest" is some sort of URL that the container will use to return the right object (in this case an interface). Now, what are the rules of the lookup-string? In a normal web-url eg. http://www.freefarm.se/foo/bar/test.html the http:// part is the protocol, <http://www.freefarm.se/>www.freefarm.se is the domain, foo/bar corresponds to directories and test.html is the file to ret rive and show in the users browser. But what is "java:" in java:comp/env/ejb/MyTest?? What is env/ejb?? Is that supposed to correspond to something we have put in one of the different xml files? Or is it part of the package com.test.ejb ? MyTest is probably the name of the remote interface. But why the name of the remote interface, why not the name of the
