Servlet as a Filter in OSGi
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 1.7k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
_From [ts.marsh](https://code.google.com/u/113202173430512622788/) on June 17, 2010 12:09:59_
Hi,
I've been trying to get guice to work with Sling for a project. All was going fine until I hit a couple of stories that really needed RequestScoping.
I could add the filter in the web.xml, but that doesn't feel very OSGi. I'd rather deploy it as a bundle and allow sling to find it.
The way Sling recommends doing this is using the SCR maven plugin, which is tricky as the servlet jar uses Ant. I could of course configure it manually.
Is this work something the community would be interested in? If so, would you prefer if I convert the project to maven (I suspect not), or just create the xml configuration manually. Failing that is there anyone with more OSGi experience that has a better suggestion?
Thanks
_Original issue: http://code.google.com/p/google-guice/issues/detail?id=495_
Contributor guide
Assessment
This issue has not been assessed yet.