axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: how to do one-time initialization
Date Fri, 16 Aug 2002 16:32:00 GMT

----- Original Message -----
From: "Jung, Eric (Contractor)" <ejung@russellmellon.com>
To: <axis-user@xml.apache.org>
Sent: Friday, August 16, 2002 8:56 AM
Subject: RE: how to do one-time initialization


> Thanks for the idea. Unfortunately, I'm must support 2.2 containers.
> However, I just read about Interface ServiceLifecycle and Interface
> ServletEndpointContext. I think overriding ServiceLifecycle.init() might
> work, although it sounds like it will be called multiple times if I have
> multiple web services in the same web application  :(


you can always have load on startup servlets with an order specified in
web.xml, so as to ensure that your init servlet starts before the others.

-steve


Mime
View raw message