Re: How often does a Java Web Start application update itself?




"Roedy Green" <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx> wrote in
message news:a6uqj1p77bn6lndutvr58adjnjpkqggfq5@xxxxxxxxxx
> On Fri, 30 Sep 2005 15:14:42 GMT, "Oliver Wong" <owong@xxxxxxxxxxxxxx>
> wrote or quoted :
>
>> * If the user *IS* connected to the Internet, to periodically check
>> for
>>update versions.
>
> If you are online, it does a quick check every time the program runs.
> It checks the date on the server's JNLP file to see if it has changed
> since the last time. The server's copy of the JNLP file (actually the
> one pointed to in the JNLP file) is always definitive, no matter which
> JNLP file was used to start the launch.

This sounds like a big clue to my problems.

What if I never modify the JNLP? That is, I wrote the JNLP once, by
hand, and uploaded it to my server. From there on, I just recompile and
re-sign the JAR, and upload the JAR.

It seems that when I run the application from the desktop shortcut while
online, the program doesn't update itself. Could it be that JWS is checking
only the JNLP, seeing that its timestamp hasn't change and therefore
(incorrectly) assuming that the JAR also has not changed?

- Oliver


.