This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 187630 - Enhance options for Web-Start delivery
Summary: Enhance options for Web-Start delivery
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 04:01 UTC by swpalmer
Modified: 2016-07-07 08:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2010-06-16 04:01:11 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

Make a Java Application project that uses one of the built-in libraries (e.g. Beans Binding).  In the project properties enable Web Start.
Build the project.
The jars that end up in the dist folder are not compressed.  Since there is a high likelihood that the application will be delivered over the web, compression is most likely desirable.
There is of course the option in the "Packaging" section to compress the main jar.. however I argue that similar options should be available to compress library jars as well, since they are built-in the developer does not have the option of building thelibrary as a compressed jar in the first place, as they would for library jars that they create.  There are several possible options that might be useful for web deployment via Java Web Start  
- There could be options to compress library jars as well as the main jar so they download faster.
- There could be options to re-package libraries into the main jar (compressed) so there are fewer requests to the server
- There should be options to package  libraries automatically as "Extension Resources" so they can be more easily shared between applications and cached by Web Start.  When defining libraries, for example JOGL, there should be a way to specify the URL of the Extension Resource JNLP so it is automatically used for Web Start deployment of the application. (e.g. http://jogamp.org/deployment/webstart/jogl-core.jnlp)
-Pack200 and GZip options should be available. http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html

Perhaps enhanced Web Start support could be provided by optional plugins.
Comment 1 Martin Balin 2016-07-07 08:39:36 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss