A method I use is either have the service extend servlet or have a servlet
call the service and configure web.xml with the following:





      <servlet>


                <servlet-name>Whatever</servlet-name>


                <servlet-class>Package.ClassName</servlet-class>


                <load-on-startup>101</load-on-startup>


        </servlet>




the load-on-startup will only start one servlet, the number is the sequence
number if you have several servlets to start automatically




-W




> Is there a way to configure an Axis-based service (with Application


> scope) to start up at the time Tomcat starts, rather than at the first


> call to the service from a client?





Reply via email to