[
https://issues.apache.org/jira/browse/FELIX-3631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger reassigned FELIX-3631:
----------------------------------------
Assignee: Felix Meschberger
> Create separate Servlet API Bundle
> ----------------------------------
>
> Key: FELIX-3631
> URL: https://issues.apache.org/jira/browse/FELIX-3631
> Project: Felix
> Issue Type: Task
> Components: HTTP Service
> Affects Versions: http-2.2.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
>
> The Serlvet API is currently exported from the Jetty bundle. This creates a
> problematic wiring to the servlet API implementation putting unneeded load on
> the system in case of Jetty update.
> Consider a Web Application server like Apache Sling where almost all bundles
> directly or indirectly import the Servlet API. In this case the bundle
> exporting the Servlet API becomes like a bottleneck. Rewiring the Servlet API
> exporter causes all direct and indirect consumers to be rewired. This is
> detrimental to the overall system.
> The solution is:
> (a) not export Servlet API from the Jetty bundle
> (b) create a separate bundle exporting Servlet API
> The Servlet API must not be exported by the Http Service API bundle because
> the Servlet API bundle is not needed in a bridged deployment (using the Http
> Service bridge) but the Http Service API is.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira