axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alban Hessler <alban.hess...@gmail.com>
Subject Re: WSDD and execute code at tomcat startup
Date Thu, 19 Jan 2006 13:50:21 GMT
Hello,

thanks for the tip. I finally used an empty (no POST or GET) servlet 
with just an init function that is called on startup by Tomcat.

Thank you,

Alban

Daniel López a écrit :
> Hi,
>
> Would registering a ServletContextListener work? It's not pure web 
> services but if you are positive you will be deployed in a servlet 
> container, it might do the trick.
>
> Cheers,
> D.
>
>
> alban hessler escribió:
>
>> Hello everyone,
>>
>> I would like some simple code to be executed at deployment of my web 
>> application.
>> I have noticed that the only files loaded at tomcat staertup are the 
>> type files defined by the <typeMapping> in the deploy wsdd file. 
>> (Since I got customed complex types)
>> I tried to define a new type mapping, so to load another class with 
>> some static code inside, it didn't work out.
>> Could someone give me a sample how to load class : 
>> myApplication.DoStartUpCode at tomcat startup?
>>
>> Thank you a lot,
>>
>> Alban Hessler
>
>


Mime
View raw message