ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (ACE-159) Register servlets under objectClass javax.servlet.Servlet instead of javax.servlet.http.HttpServlet
Date Mon, 27 May 2013 07:40:57 GMT

     [ https://issues.apache.org/jira/browse/ACE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bram de Kruijff reopened ACE-159:
---------------------------------

    
> Register servlets under objectClass javax.servlet.Servlet instead of javax.servlet.http.HttpServlet
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ACE-159
>                 URL: https://issues.apache.org/jira/browse/ACE-159
>             Project: ACE
>          Issue Type: Improvement
>    Affects Versions: 0.8.0-incubator
>            Reporter: Bram de Kruijff
>            Assignee: Marcel Offermans
>         Attachments: ACE-159-toServlet.patch, ACE-159-toServletWithPropagate.patch
>
>
> ACE registers its servlets whiteboard style under objectClass=javax.servlet.http.HttpServlet.
The custom whiteboard implementation HttpListener bridges them to available Http services.
> 1) I think strictly speaking this is not spec compliant as HttpServlet is not an interface?
> 2) It is unnecessarily specific as HttpService#registerServlet accepts javax.servlet.Servlet
> 3) It is not (out of the box) portable to Felix HTTP whiteboard or Amdatu Dispatcher
> For these reasons I'd suggest switching to objectClass=javax.servlet.Servlet. Would be
happy to work on a small patch if there is some consensus that this is a good idea.

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

Mime
View raw message