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



Oliver Wong wrote:

When the application is first "installed", JWS will offer to create desktop icons. So the documentation makes it sound like if the user launches the application using these desktop icons, then the application will be "launched offline", meaning no checks will be made for an updated version.

Nope. As I understand, and have experienced JWS. The app. is checked for a new version every time you start it and an internet connection is available, irrespective of what launches it (menu, desktop icon, link to JNLP file).

If the *splash* image changes, it will not update
for the user till the *next* time the app. is launched,
but as far as I undersstand, the time stamps of the classes
are checked before JWS decides whether to upload the local
classes immediately, or update them first (so the end
user always gets the lates version of the app.).

If an internet connection is not available, and the app.
is marked for 'offline' use, the local copy is launched.

What I want is:

* Give the user the opportunity to run the application without being connected to the Internet.

specify offline allowed

* Let the user run the application using the desktop shortcuts for their convenience.

It is up to the end user* and how they have JWS configured as to whether they get a desktop icon.

* unless you can find a way to configure JWS across
a network of computers.

* If the user *IS* connected to the Internet, to periodically check for update versions.

How about 'each start-up'?

Any advice on how I can get the desired behaviour described above?
....
In case it matters, you can download the JNLP file from http://nnr4itg.sourceforge.net/NNR4ITG.jnlp

Hmm... that seems to have 'the right stuff' to produce the behaviour you desire. How big is your application? I could check it for you from here, but my connection is a bit challenged at the moment. .