axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jung, Eric (Contractor)" <>
Subject how to do one-time initialization
Date Fri, 16 Aug 2002 15:06:30 GMT
I have some libraries I need to configure/initialize before my Axis web
services use them. What I've done is extend AxisServlet, override public
void init(), and then specify my subclass as the servlet in web.xml. Is
there a better way to do this, or is this normal?

  public class Servlet extends AxisServlet {

    public void init() {

      //initialize Axis
      //do initialization

Then in web.xml:
    <display-name>Apache-Axis Servlet</display-name>

Thanks for your input,

Eric H. Jung
Contract Consultant
Russell/Mellon Analytical Services
Everett, MA, USA
Latest publication:

View raw message