Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18501 > unrolled thread
| Started by | razor <lukasz.tolwinski@gmail.com> |
|---|---|
| First post | 2012-09-01 11:49 -0700 |
| Last post | 2012-09-02 02:12 -0700 |
| Articles | 6 — 5 participants |
Back to article view | Back to comp.lang.java.programmer
automatically updating application razor <lukasz.tolwinski@gmail.com> - 2012-09-01 11:49 -0700
Re: automatically updating application Arne Vajhøj <arne@vajhoej.dk> - 2012-09-01 15:31 -0400
Re: automatically updating application Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-01 17:15 -0400
Re: automatically updating application "John B. Matthews" <nospam@nospam.invalid> - 2012-09-01 18:14 -0400
Re: automatically updating application Arne Vajhøj <arne@vajhoej.dk> - 2012-09-01 18:25 -0400
Re: automatically updating application Roedy Green <see_website@mindprod.com.invalid> - 2012-09-02 02:12 -0700
| From | razor <lukasz.tolwinski@gmail.com> |
|---|---|
| Date | 2012-09-01 11:49 -0700 |
| Subject | automatically updating application |
| Message-ID | <a7c9a1eb-e67f-4bb4-a406-348a0714a588@googlegroups.com> |
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)
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-09-01 15:31 -0400 |
| Message-ID | <5042628b$0$283$14726298@news.sunsite.dk> |
| In reply to | #18501 |
On 9/1/2012 2:49 PM, razor wrote: > 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) If you do not have time to do it right the first time, then you will most likely end up spending way too much time on it. Have you checked out whether you can use OSGI? Arne
[toc] | [prev] | [next] | [standalone]
| From | Eric Sosman <esosman@ieee-dot-org.invalid> |
|---|---|
| Date | 2012-09-01 17:15 -0400 |
| Message-ID | <k1ttu3$pe6$1@dont-email.me> |
| In reply to | #18501 |
On 9/1/2012 2:49 PM, razor wrote:
> 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)
Have you looked at Java Web Start? (If "Yes" and it won't
work for you, please describe where it lets you down: Maybe
someone knows a way to have it pick you up again.)
--
Eric Sosman
esosman@ieee-dot-org.invalid
"The speed at which the system fails is usually not important."
[toc] | [prev] | [next] | [standalone]
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Date | 2012-09-01 18:14 -0400 |
| Message-ID | <nospam-958BC9.18143301092012@news.aioe.org> |
| In reply to | #18503 |
In article <k1ttu3$pe6$1@dont-email.me>, Eric Sosman <esosman@ieee-dot-org.invalid> wrote: > On 9/1/2012 2:49 PM, razor wrote: > > 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) > > Have you looked at Java Web Start? (If "Yes" and it won't > work for you, please describe where it lets you down: Maybe > someone knows a way to have it pick you up again.) Eureka! I've always felt that JWS could exert a buoyant force. Andrew Thompson has helpfully summarized related information here: <http://stackoverflow.com/tags/java-web-start/info> -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-09-01 18:25 -0400 |
| Message-ID | <50428b71$0$291$14726298@news.sunsite.dk> |
| In reply to | #18503 |
On 9/1/2012 5:15 PM, Eric Sosman wrote: > On 9/1/2012 2:49 PM, razor wrote: >> 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) > > Have you looked at Java Web Start? (If "Yes" and it won't > work for you, please describe where it lets you down: Maybe > someone knows a way to have it pick you up again.) If a Windows service can use Java Web Start then it will certainly be simpler than OSGI. Arne
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2012-09-02 02:12 -0700 |
| Message-ID | <ln8648l60hiatc5lra2ci5ns6sqlt14gnq@4ax.com> |
| In reply to | #18501 |
On Sat, 1 Sep 2012 11:49:09 -0700 (PDT), razor <lukasz.tolwinski@gmail.com> wrote, quoted or indirectly quoted someone who said : >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 see http://mindprod.com/jgloss/javawebstart.html -- Roedy Green Canadian Mind Products http://mindprod.com A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. ~ Max Planck 1858-04-23 1947-10-04
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web