3 Replies Latest reply on Feb 23, 2010 3:30 AM by Richard Opalka

    Initialize WS in deployment descriptor?

    asdf fdsfds Newbie


      When creating JBoss Webservices, you package a java class as though it were a Servlet. In the web.xml, you specify element in web.xml with <servlet-name>, <servlet-class>, <load-on-startup> etc. You also create a <servlet-mapping> element. However, the Java class invoked is not actually a Servlet!

      My question is, is there any way that I can initialize my Java Webservice in the web.xml? I can't specify init parameters, as I would a servlet, because the class is not a servlet. Is the only way to use a regular properties file, and read the file from you Java class that implements your webservice?