If you are using EJB 2.1 then you can make your bean implement ServiceLifecycle, which
will give you an init method. That method passes the ServletEndpointContext, which allows
you to get at the ServletContext, and you can get the URL from that.
-Jason
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032488#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...