You can implement the following interface that will be called when the context containing Axis is loaded:
javax.servlet.ServletContextListener On Fri, 19 Nov 2004 12:30:01 +0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is there a way to run some initialisation code once, when Axis starts. I > realise that I could include another servlet, in the application, purely for > initialisation, or perhaps run some static code in a handler class, but I'd > like to be able to get at options defined in the WSDD configuration, without > having to duplicate them. > > One way would be to define a global handler and have logic to only run the > initialisation code once. But this means that the handler will still get > called, even if it doesn't do anything. Is there an architected was to do > initialisation in Axis? > > Tony