Spring Boot的优势 [英] Advantage of Spring Boot
本文介绍了Spring Boot的优势的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试了解Spring Boot,也许将我的项目迁移到了它.但是,除了嵌入式Tomcat之外,我没有真正的优势.您能不能向我解释一下,与普通的Spring相比,Spring Boot的真正力量是什么?
I have been trying to understand Spring Boot and maybe migrate my project to it. However I do not get the real advantage of it except the embedded Tomcat. Would you kindly explain to me what is the real power of Spring Boot compared to regular Spring?
推荐答案
从 Spring Boot Page ,它具有以下功能:
- 创建独立的Spring应用程序
- 直接嵌入Tomcat,Jetty或Undertow(无需部署WAR文件)
- 提供自有的入门" POM来简化您的Maven配置
- 尽可能自动配置Spring
- 提供可用于生产的功能,例如指标,运行状况检查和外部化配置
- 完全不生成代码,并且不需要XML配置
- Create stand-alone Spring applications
- Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
- Provide opinionated 'starter' POMs to simplify your Maven configuration
- Automatically configure Spring whenever possible
- Provide production-ready features such as metrics, health checks and externalized configuration
- Absolutely no code generation and no requirement for XML configuration
这篇关于Spring Boot的优势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文