Hi Java gurus,
 
I have my own java (using thread control) application. The application will invoke a 
thread and it will do some work once in a day and it will go to sleep. I want to run 
this application while the application server  starts up. I heard that I can write my 
own servelet and in the web.xml I configure in such a way that I can run this servlet 
at the start up. So that I can run my application while starting up the application 
server. Could anybody give me a sample servlet to do the above said task.
 
Will the thread  (running from my own application) get killed automatically when I 
stop the Application server. Or is there any way to stop my application while stoping 
the App. Server.
 
Thanks
 
Babu
 
{.n+zw^bڽ.&jwbnu觶ܨ~^,j       }ERLSL
܆+޲mڭb#jw(rzzzا޲mT^q!6j˧rlǫWmzږzmRI4EQޖm
%rj[?ǫf


Reply via email to