United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6764455 Avoid network requests if everything is cached and JNLP has <update check="background">
JDK-6764455 : Avoid network requests if everything is cached and JNLP has

Details
Type:
Enhancement
Submit Date:
2008-10-28
Status:
Closed
Updated Date:
2010-09-26
Project Name:
JDK
Resolved Date:
2009-05-13
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
6u14 (b03)

Related Reports
Backport:
Relates:

Sub Tasks

Description
In the ideal situation webstart startup logic should behave as follows:

If all of the following is true:
  a) initial JNLP file is local (even if it is in browser cache yet)
  b) all required JNLP files contain <update check="background">
  c) all required resources are present in the cache

Then startup of webstart application should not require any network requests.

Background thread should check for updates and install updates to the cache.

                                    

Comments
EVALUATION

Reuse background update logic introduced for plugin2.

Attempt to start from cache only. If this fails then try again with network connections enabled. In case if application fails with error mark it as one requiring foreground update check (to check if update will resolve the failure).
                                     
2009-02-25



Hardware and Software, Engineered to Work Together