0 Replies Latest reply on Jul 17, 2007 2:25 AM by Michael McGovern

    How to define context for EJB3 web service

    Michael McGovern Newbie

      How do I define the web context for SLSB that I expose using @WebService?

      This is not a web app, so no web.xml or the like.

      I'd like to be able to do this using deploy-time configuration or at worst build time configuration.

      An annotation (e.g. @WebContext) does not allow me to have different deployments of the same code in the same app server - for example dev and staging web services running on same app server need to have different URLs to the web service.

      Thanks

      Michael