users@glassfish.java.net

Re: Setting the context-root for an EJB

From: <glassfish_at_javadesktop.org>
Date: Thu, 02 Jul 2009 14:04:26 PDT

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