how to start an applic. automatically, when server or context start

hai everybody

i am phasing a problem with this concept. pleas help me out. i am trying to start a application automatically in server while server restarts.can u give me some idea in this. i am using apache tomcat web server. if i start the server once, the application which i want to run should automatically deploy in the server. so that i need not to start the application manually.. can u pleas help me out on this.

advanced thanks..

[459 byte] By [brucelia] at [2007-11-27 0:26:20]
# 1

hi,

If you deploy your web app in the webapps directory.. each time you restart you application server the application will be automatically deployed. If you use war file you deploy your application, all you have to do is copy it to the weapps directory even if the server is running.. Tomcat automatically unzip's the war and deploys the web application.

hope this clears your doubt

-- Abdel Olakara

http://olakara.googlepages.com

Olakaraa at 2007-7-11 22:24:45 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...