Hi, standard Servlet API 3.0 annotations should work with Pax Web by just installing the war feature. Though I just found and fixed a bug for Filter annotations (Pax Web 3.0.7-SNAPSHOT comes with Karaf 3.0.1-SNAPSHOT). Concerning the @MultipartConfig I'm not sure if it'll work right away, if not please open a bug at Pax Web [1] for it.
regards, Achim [1] - https://ops4j1.jira.com/browse/PAXWEB 2014-02-25 14:48 GMT+01:00 lis0x90 <lis0...@gmail.com>: > First of all I can't find out any more complex web application example than > simple servlet with "Hello Wold" using plain servlet. > > Demos in Karaf distribution does not provide it too. =( > > Can I use annotation @WebServlet to declare servlet in java code? > What should I do (install some features or external bundles) to tell Karaf > process annotations in my war? > > PS. Also I need to use @MultipartConfig annotation on my servlet > > Thanks in advice > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Annotation-processing-in-war-deployed-to-karaf-3-0-0-tp4031937.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master