Hello Sten,
On Jul 26, 2009, at 22:13 , Sten Roger Sandvik wrote:
I have looked at the HttpService implementation in Felix and I had
some
thoughts on how to improve the functionality. Over the past year I
have
looked long and hard for a solution that has the following features:
* Run inside a WAR on a 3rd part container.
* Run stand-alone (using jetty).
* Has servlet filter support.
* Using whiteboard pattern for registering servlets / filters.
The road led me to Pax Web (supports filters, but only as a stand-
alone
service) and Equinox Servlet Bridge (does not support filters).
Whiteboard
registering pattern is implemented by the Pax guys, but does not
support
filters inside a "bridged" environment.
I very much agree with the comments from other people on the list that
it makes a lot of sense to have a single implementation that combines
all these features. I looked at the code you linked to in the Jira
issue and like the clean and modular design of it. You do use some
Java 5 features, but I'm not too troubled by that. For really
constrained environments in embedded devices, you probably don't want
to use Jetty for example at all.
So, eventually I was tired of looking for a solution out there and
created
my own. This supports servlets and filters in both stand-alone and
bridged
mode (WAR). Now I have come to a fork in the road. Should I donate
the code
or host my own. I prefer to donate the code. But is the right place
under
Felix umbrella or Pax Web umbrella? I see that more and more is
created
under Felix and this implementation would be (in my opinion) a great
addition.
My personal opinion on this is that I would like to see all these
efforts being merged in the future. To directly answer your question,
I would prefer you donate the code, and I would welcome that even more
if you also have the time to keep supporting it. Felix is a good home
for it!
Greetings, Marcel