[jboss-user] [JBossWS] - Re: Anyone know how to get the context root of a Session Bea
jason.greene@jboss.com
do-not-reply at jboss.com
Wed Mar 28 14:13:11 EDT 2007
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#4032488
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032488
More information about the jboss-user
mailing list