Home  >  Article  >  Java  >  What is the difference between spring, springmvc and springboot?

What is the difference between spring, springmvc and springboot?

王林
王林Original
2020-06-24 13:18:405047browse

What is the difference between spring, springmvc and springboot?

The difference between spring, springmvc, and springboot can be understood like this:

Spring contains SpringMVC, and SpringBoot contains Spring or Spring Make an extension based on Spring.

(Recommended learning: Introduction to java development)

Let’s introduce them separately:

1, Spring

Spring is an open source container framework that can take over components of the web layer, business layer, dao layer, and persistence layer, and can configure various beans and maintain the relationship between beans. Its core is Inversion of Control (IOC) and Aspect Orientation (AOP). Simply put, it is a layered lightweight open source framework.

2. SpringMVC

Spring MVC is a follow-up product of SpringFrameWork and has been integrated into Spring Web Flow. SpringMVC is a web layer mvc framework used to replace servlets (process | respond to requests, obtain form parameters, form verification, etc.).

(Video tutorial recommendation: java video tutorial)

SpringMVC is an open source framework for MVC. SpringMVC=struts2 spring. springMVC is equivalent to the integration of Struts2 plus Spring. .

3. SpringBoot

Springboot is a microservice framework that continues the core ideas of spring framework IOC and AOP, simplifying application development and deployment.

Spring Boot emerged to simplify the creation, running, debugging, deployment, etc. of Spring applications. Using it, you can focus on the development of Spring applications without paying too much attention to XML configuration. A bunch of dependency packages are provided, and dependency issues have been solved according to usage habits --->Habits are greater than conventions.

The above is the detailed content of What is the difference between spring, springmvc and springboot?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn