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.
Summary: | Eliminate the servlet 2.2 library and replace it with an open source approach | ||
---|---|---|---|
Product: | ide | Reporter: | Petr Jiricka <pjiricka> |
Component: | Internal Server | Assignee: | Petr Jiricka <pjiricka> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jtulach |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | 96001 | ||
Bug Blocks: | 90674 |
Description
Petr Jiricka
2007-02-19 13:27:52 UTC
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 |