I noticed that spring-web is considered a synonym of spring-mvc. However, something can be about or use Spring Web without involving Spring Web MVC. As explained in answer https://stackoverflow.com/a/13533810/1108305:
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 onspring-web
, thus including it will transitively addspring-web
. You don't have to addspring-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.
Another example is the Spring WebFlux project which uses Spring Web without the Spring Web MVC portion.
Can someone educate me why spring-web is a synonym of spring-mvc? Is it a situation where most Spring Web questions are also Spring Web MVC questions? Is the set of answerers the same, so it's convenient that they be handled by the same tag? Finally, why is the synonym relationship this way, and not have spring-mvc be a synonym for spring-web instead?
I'm looking to better understand the synonym process in Stack Exchange.
Looking at "What are tag synonyms and merged tags? How do they work?", I think this falls under the category of subsets being considered synonyms:
In some cases, tags that are subsets of other tags will also be considered synonyms, such as
java-se
forjava
.