United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6659490 Include everything needed for plugin into jkernel core
JDK-6659490 : Include everything needed for plugin into jkernel core

Details
Type:
Enhancement
Submit Date:
2008-02-05
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-04-17
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b13)

Related Reports
Backport:

Sub Tasks

Description
Initialization of plugin requires several bundles (deploy.jar, plugin.jar, awt_core and some others) with total size about 2Mb. This is what happens when browser tries to initialize plugin for applet. This activity blocks browser till completed and completion will require 20+ sec even with 1000Mb ADSL (much longer for dial up).
It does not seem to be user friendly.

Proposed solution:
  Include everything that is needed for initializing plugin into install package. Installation happens in the separate process and does not disturb user that much.

This means install package will be 2Mb larger. If it is not acceptable in general case
then we can have separate install package for plugin (available through "find plugin for mimetype"services).
However, note that for webstart application we can only save plugin.jar because most of awt_core will be needed for webstart application anyway. This is true for any GUI applications and as i understand jkernel is mostly for GUI applications anyway.
I think adding everything that is needed for basic applets to the core bundle is a good idea, but we should still optimize it as much as possible to include only the minimum set of dependent classes.

                                    

Comments
EVALUATION

Bundles can now be included in the core merely by adding 'install="true"' to their definition in bundles.xml.  This will also include all of their dependencies, recursively.

The plugin bundle is now installed by default.
                                     
2008-02-13



Hardware and Software, Engineered to Work Together