Java Interview Questions:
- What is the relationship between JVM method areas and meta-spaces? Why do YOU want to change permanent substitution to a meta-space?
- What are Java basic data types? What about constant pool technology for wrapper types?
Many people are confused about Spring,Spring MVC, and Spring Boot. Here is a brief introduction to these three, in fact, very simple, there is nothing profound.
Spring consists of several functional modules (just improved above), the most important of which is the Spring-core module (which mainly provides support for IoC dependency injection). Other modules in Spring (such as Spring MVC) rely on this module to implement their functions.
The figure below corresponds to the Spring4.x release. In the current 5.x release, the Portlet component of the Web module has been deprecated and a WebFlux component for asynchronous responsive processing has been added.
Spring MVC is a very important module in Spring. It mainly gives Spring the ability to quickly build MVC architecture Web applications. MVC is the abbreviation of Model, View and Controller. Its core idea is to organize code by separating business logic, data and display.
It is cumbersome to use Spring to develop various configurations, such as explicit configuration in XML or Java to enable some Spring features. Spring Boot was born!
Spring is designed to simplify J2EE enterprise application development. Spring Boot is designed to simplify Spring development (fewer configuration files, out of the box!). .
Spring Boot just simplifies configuration. If you need to build MVC Web applications, you still need to use Spring MVC as the MVC framework.
This article comes from my website JavaGuide (Java learning + Interview Guide) Java basics & interview questions summary (part 1) this article.
Original is not easy, welcome to like to share, welcome to pay attention to my account in nuggets, I will continue to share original dry goods! Come on, rush