Hi Duan,

Karaf doesn't gave up Spring, it's still available.

In your bundle, you can still use Spring MVC DispatcherServlet, wiring, etc.

Spring DM is also still available but you have to use old Spring
version: it's not due to Karaf, it's Spring that doesn't maintain Spring
DM anymore.
So, my advice was more to replace Spring DM.

Without some details about your use of Spring MVC and the way you
package it in your bundles, I can only do suggestion.
Don't hesitate to ping me with some details.

Regards
JB

On 09/11/2019 04:27, duan2ping wrote:
> Hi JB
> 
> 
> Because karaf gave up Spring, I can only use Servlet to develop web
> applications in OSGi. So, I need to do a lot of work to implement a wrapper
> similar to the SpringMVC framework. 
> 
> Is there any other good advice, or can subsequent versions of Karaf provide
> a framework that can replace SpringMVC instead of using the original
> servlet?
> 
> 
> 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

Reply via email to