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

Reply via email to