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.
|