You can't directly set a web-contextroot for an EJB, i.e. you can't directly write an HTTP URL on
a browser that invokes your EJB.
You need a web-component (generally speaking). So, add a JSP/Servlet that invokes the EJB
and then provide the context-root for that servlet/JSP page.
-Kedar
(Hoping I have not misunderstood you ;))
[Message sent by forum member 'km' (km)]
http://forums.java.net/jive/thread.jspa?messageID=354015