mvn依赖中spring-webmvc和spring-web的区别

前端之家收集整理的这篇文章主要介绍了mvn依赖中spring-webmvc和spring-web的区别前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

spring-web provides core HTTP integration,including some handy
Servlet filters,Spring HTTP Invoker,infrastructure to integrate with
other web frameworks and HTTP technologies e.g. Hessian,Burlap.

spring-webmvc is an implementation of Spring MVC. spring-webmvc
depends on on spring-web,thus including it will transitively add
spring-web. You don’t have to add spring-web explicitly.

You should depend only on spring-web if you don’t use Spring MVC but
want to take advantage of other web-related technologies that Spring
supports.

spring-web提供了核心http功能集成 spring-webmvc基于spring-web。如果你依赖了spring-webmvc就不需要显式依赖spring-web。

猜你在找的设计模式相关文章