[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB Deployment and URL names
PeterJ
do-not-reply at jboss.com
Tue Jul 28 12:34:42 EDT 2009
One way you can do this is to add a org.jboss.wsf.spi.annotation.WebContext annotation with a contextRoot to the bean class:
@Stateless
@WebService
@WebContext(contextRoot="/shortandsweet")
public class SomeEjbBean {...}
Now the URL is http://localhost:8080/shortandsweet/Xmir
There is probably a way to specify this in a config file, but I'd have to dig that up.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246512#4246512
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246512
More information about the jboss-user
mailing list