If it is a JSE endpoint you can define the /context-root in jboss-web.xml and the url-mapping in web.xml
If it is an EJB endpoint have a look at @PortComponent
> If it is an EJB endpoint have a look at @PortComponent
Yes, that seems to be what I was looking for.
Thanks for your help.