Hi, As said early, you can do the same as in Karaf 3.0.8 with Karaf 4.2.x if you first add spring-legacy features repository: it still provides Spring 3.2.14 and spring-dm.
Just do feature:repo-add spring-legacy. Regards JB On 11/11/2019 04:42, duan2ping wrote: > Hi JB > > First of all, thank you very much for your suggestions and reply. > > This is my Web Bundle I want to transform. ob-web.gz > <http://karaf.922171.n3.nabble.com/file/t498132/ob-web.gz> > > It is based on karaf3.0.8 and spring3.2.14. I am trying to upgrade karaf and > spring. > But unfortunately found that the new version of karaf does not support > SpringDM and can no longer use SpringMVC. Although Karaf retains > spring-legacy, it should not be a good solution. > > The problem I am facing now is: > > * If i want to continue using SpringMVC, because Spring no longer maintains > SpringDM, I can only use the old version (Spring has stopped maintenance, I > think I should not be using it.) > > * If i drop SpringMVC, what are the alternatives in Karaf? (Blueprint, SCR) > But Blueprint seems to only use the original Servlet, which will cause me to > do a lot of work. Because I need a good framework like SpringMVC. > > What should I do? Since Spring is not maintaining, the best solution now is > to use Servlets? > > Thanks again > duan > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
