Auto Updating an App



I have my application communicate with a server to determine if there is a
newer version available. I have a native windows C++ version and a Java
version for other platforms. As far as the Java side goes, is there an easy
way to update the Jar file? i.e. my program a.jar will have a new version,
so it should download http://somewhere.com/a.jar and replace itself?

In C++ I execute another small program which grabs the file from the web,
replaces the old one and launches the new one. Is this what I will have to
do in Java? If so, how do I launch another java program? It will be
guaranteed to be in the same directory as the program a.jar. Also is there
an easy way to get a binary file from an http server, or do I have to do
that myself as I did with the C++ version?

Thanks
Allan


.



Relevant Pages

  • Re: AJAX devtool using Cobol
    ... managed by a Java Applet. ... Server Affinity is completely under ... just enter an asterix "*" for the Queue Name and then click ... Applet Java code is application-neutral and completely reusable. ...
    (comp.lang.cobol)
  • Re: JVM/Java memory footprint
    ... I found that if I use Java for developing the CLI ... application I will be exhausting the memory of our Application Server ... to make the JVM shareable. ... multiple client processes? ...
    (comp.lang.java.programmer)
  • Java Network Programming FAQ
    ... Java Network Programming FAQ. ... How can I find out who is accessing my server? ... What are socket options, and why should I use them? ... How does servlet performance compare to applets? ...
    (comp.lang.java.programmer)
  • Java Network Programming FAQ
    ... Java Network Programming FAQ. ... How can I find out who is accessing my server? ... What are socket options, and why should I use them? ... How does servlet performance compare to applets? ...
    (comp.lang.java.programmer)
  • Java Network Programming FAQ
    ... Java Network Programming FAQ. ... How can I find out who is accessing my server? ... What are socket options, and why should I use them? ... How does servlet performance compare to applets? ...
    (comp.lang.java.programmer)