Hi, I compared spring and blueprint. I don't know enough SpringMVC to compare.
Anyway, SpringMVC is one think Spring DM is nother one. You also have the Spring extender in blueprint, so, it should be possible. About the servlet, yes, you can deploy a servlet in different ways. You have examples here: https://github.com/apache/karaf/tree/master/examples/karaf-servlet-example Don't hesitate to ping me directly to figure it out. Regards JB On 08/11/2019 09:50, duan2ping wrote: > Hi JB > > I tried to check out some information about using Blueprint, but there > is nothing to gain. > > If use blueprint and scr instead of spring, does web application development > have a similar alternative to springmvc? > Or can you only use the original servlet method like the one below? > > @OsgiServiceProvider(classes={Servlet.class}) > @Properties({@Property(name="alias", value="/tasklist")}) > @Singleton > public class TaskListServlet extends HttpServlet { > //...... > } > > I am very confused now. > How do I use Blueprint instead of Spring and SpringMVC to develop a Web > Bundle correctly, is there a related reference solution? > > Regards > duan > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com