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.
Currently, the httpserver module uses the servlet 2.2 library, which is under the Sun Binary License, so it is not open source. It should be eliminated and replaced with an approach that does not require closed source software.
The approach will be to use the open source Grizzly container, instead of Tomcat 3.2, that we currently use. Grizzly is not tied to the servlet API, so extensions of the httpserver module will use Grizzly adapters. Branch httpserver_grizzly was created that contains the prototype of the implementation.
This can avoid couple of patches required to produce packages for jpackage where tomcat sources where changed to make them usable in IDE. OTOH can brings another problems if we do nt find package for grizzly.
If we do not insist on servlet API, then I'd like to propose a different alternative: Let's use scripting APIs. I have 50kb httpserver implementation that delegates to freemarker under CDDL at http://dvbcentral.cvs.sourceforge.net/dvbcentral/sources/httpserver/ http://dvbcentral.cvs.sourceforge.net/dvbcentral/sources/velocity/?pathrev=freemarker I'd like to propose scripting solution like this as an alternative to grizzly.
At the end I chose a different approach. Servlet 2.2 library is included in Tomcat 3.2, which is under the Apache 1.1 license. Servlet 2.2 itself is available for download from Apache under the Apache 1.1 license - here is the source download: http://archive.apache.org/dist/tomcat/tomcat-3/src/jakarta-servletapi-src.zip Every source file in this archive includes a notice that it is licensed under Apache 1.1 license, so we can just include this library under Apache 1.1. httpserver/external/servlet-2.2-license.txt,v1.5