United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7052492 : Support embeded JNLP for webstart

Details
Type:
Enhancement
Submit Date:
2011-06-07
Status:
Closed
Updated Date:
2011-11-28
Project Name:
JDK
Resolved Date:
2011-11-28
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7-client
Fixed Versions:
7u2 (b03)

Related Reports
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
Add support for passing base64 version of JNLP file using DT's deployJava.launchApplication() along the lines of how we do this for 
applets. Embedding JNLP file into HTML page helps to save one network request per launch.

                                    

Comments
EVALUATION

we will enhance the dt launch() method to take two additional args:
launch(String jnlpurl, String embeddedContent, void *callbacks);

The only required arg is the first, the url (possibly relative) to the jnlp file.
The second arg can be the embedded base64 jnlp file.
The third will not be implemented for now but is provided for future expansion once callbacks are implemented (its actual type will change)

The jnlp file can can contain nocodebase, or a codebase of ".", and the dt plugin will determine the docbase of the referring page.
                                     
2011-07-05



Hardware and Software, Engineered to Work Together