Friday, 15 June 2012

java ee - auto update war file with new one by downloading from other server -



java ee - auto update war file with new one by downloading from other server -

**we building java ee web application , deploying on tomcat 7.0 on every clients pc. application has run offline. every day have new deployments , bug fixes producing new war file. want method old deployments come know new version of war , download sever , deploy on tomcat. have searched lot not find ,read cron jobs or ant scripts ...please throw lite on it. tomcat 7.0 using **

you need write separate scheduled task that. may write task using timertask poll on server folder new war, if new war available task bring downwards tomcat, deploy new war , start tomcat. may utilize apache common's filealterationobserver observe changes in folder check new war.

java-ee tomcat7

No comments:

Post a Comment