United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6495527 : CD Import should be extended to include extensions

Details
Type:
Enhancement
Submit Date:
2006-11-20
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2007-01-03
Component:
deploy
OS:
windows_xp
Sub-Component:
webstart
CPU:
x86
Priority:
P3
Resolution:
Duplicate
Affected Versions:
6
Fixed Versions:
7

Related Reports
Backport:
Duplicate:

Sub Tasks

Description
A DESCRIPTION OF THE REQUEST :
It is impossible to find a combination of "javaws -import -codebase" commands that will enable a Java Web Start application to be installed from CD and subsequently run online IF the application JNLP file includes, amongst its resources, extension tags which reference other JNLP files. This is particularly the case when the other JNLP files are ordinarily hosted at locations other than the one for the main application (i.e. different codebases) .

JUSTIFICATION :
Many applications are comprised of component libraries. Third party libraries are generally signed by a different certificate and the extension mechanism is the recommended route for including such libraries in a Web Start application.

My own particular application uses the Java 3D JNLP library.

CD installation offers a quick and easy way to install on sites with low bandwidth. It also provides customers with a backup installation mechanism.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A mechanism by which all resources can be loaded from CD, USB drive, hard disk or whatever. Then on subsequent launches, the Web Start application can be launched online and behave normally, as though the initial install had been from the web.

This must include applications which reference, as extensions in the resources section, other JNLP files representing third party libraries, possibly at hosts or codebases different from the main application.
ACTUAL -
Impossible to install an application from CD that has other JNLPs embedded in extension tags, particularly if those JNLPs have a codebase that differs from the main application's codebase.

---------- BEGIN SOURCE ----------
<jnlp spec="1.0+" codebase="http://www.dakinewave.com/downloads/buddy/" href="buddy.jnlp">
...
<resources>
....
  <extension href="http://www.dakinewave.com/downloads/dwcommon3d/dwcommon3d.jnlp"/>
</resources>

---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Tried everything.
In the end, put all resources into the same codebase in order to install application from CD. BUT can only run the application offline which defeats the object of Web Start.

                                    

Comments
EVALUATION

new proposal for a JDK 7 JSR-56 specification update will allow this: see 6483092
                                     
2007-01-03



Hardware and Software, Engineered to Work Together