File tree 1 file changed +27
-0
lines changed
docs/system-design/framework/spring
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+
3
+ > 本文由JavaGuide整理翻译自(做了适当删减和修改):
4
+ >
5
+ > - https://www.javaguides.net/2018/11/spring-boot-interview-questions-and-answers.html
6
+ > - https://www.algrim.co/posts/101-spring-boot-interview-questions
7
+
8
+ ### 1. 什么是 Spring Boot?
9
+
10
+ 首先,重要的是要理解 Spring Boot 并不是一个框架,它是一种创建独立应用程序的更简单方法,只需要很少或没有配置(相比于 Spring 来说)。Spring Boot最好的特性之一是它利用现有的 Spring 项目和第三方项目来开发适合生产的应用程序。
11
+
12
+ ### 2. 说出使用Spring Boot的主要优点
13
+
14
+ 1 . 开发基于 Spring 的应用程序很容易。
15
+ 2 . Spring Boot 项目所需的开发或工程时间明显减少,通常会提高整体生产力。
16
+ 3 . Spring Boot不需要编写大量样板代码、XML配置和注释。
17
+ 4 . Spring引导应用程序可以很容易地与Spring生态系统集成,如Spring JDBC、Spring ORM、Spring Data、Spring Security等。
18
+ 5 . Spring Boot遵循“固执己见的默认配置”,以减少开发工作(默认配置可以修改)。
19
+ 6 . Spring Boot 应用程序提供嵌入式HTTP服务器,如Tomcat和Jetty,可以轻松地开发和测试web应用程序。(这点很赞!普通运行Java程序的方式就能运行基于Spring Boot web 项目,省事很多)
20
+ 7 . Spring Boot提供命令行接口(CLI)工具,用于开发和测试Spring Boot应用程序,如Java或Groovy。
21
+ 8 . Spring Boot提供了多种插件,可以使用内置工具(如Maven和Gradle)开发和测试Spring Boot应用程序。
22
+
23
+ ### 为什么需要Spring Boot?
24
+
25
+ Spring Framework旨在简化J2EE企业应用程序开发。Spring Boot Framework旨在简化Spring开发。
26
+
27
+ ![ why-we-need-springboot] ( https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-7/why-we-need-springboot.png )
You can’t perform that action at this time.
0 commit comments