title: Different ways of accessing configuration parameters from a JAX-WS service
body: <p>As far as I know I can access the web.xml <code>&lt;context-param&gt;</code>s by making my class implement <code>ServletContextListener</code> and use the <code>ServletContext.getInitParam(String)</code> to read them, but it´s cumbersome as only one instance of the class will receive the <code>contextInitialized(ServletContextEvent sce)</code> call, so I need to make the <code>ServletContext</code> an static member of the class. </p>
  
  <p>What other ways exist of setting conf params at deployment time and what are the recommended ones? </p>