Received: by 10.224.181.75 with SMTP id bx11mr7903764qab.7.1346525349801; Sat, 01 Sep 2012 11:49:09 -0700 (PDT) Received: by 10.52.35.104 with SMTP id g8mr1857481vdj.19.1346525349781; Sat, 01 Sep 2012 11:49:09 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!v8no317206qap.0!news-out.google.com!da15ni7637554qab.0!nntp.google.com!b19no250802qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Sat, 1 Sep 2012 11:49:09 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.68.121.99; posting-account=-hO7agoAAAAr7ry_1VJdIFqAhmk7MLd4 NNTP-Posting-Host: 89.68.121.99 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: automatically updating application From: razor Injection-Date: Sat, 01 Sep 2012 18:49:09 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:18501 Hi. I'm developing application that has to automatically update. Now it works as a windows service (using prunsrv http://commons.apache.org/daemon/procrun.html ) I'm wondering if you have any ideas that will help the plan is much about: 1. application downloads update package 2. application runs update package and ends itself 3. update package do update (java classes or maybe a script ? ) 4. update package ends and starts application (starts windows service) using java during update is easy/comfortable ? or maybe some kind of scripts? BeanShell? (i don't want to learn a new scripting language - i don't have a time for this ) are there any advantages of using scripting languages? (over plain java)