Spring Boot的优势 [英] Advantage of Spring Boot

查看:182
本文介绍了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 ,它具有以下功能:

  1. 创建独立的Spring应用程序
  2. 直接嵌入Tomcat,Jetty或Undertow(无需部署WAR文件)
  3. 提供自有的入门" POM来简化您的Maven配置
  4. 尽可能自动配置Spring
  5. 提供可用于生产的功能,例如指标,运行状况检查和外部化配置
  6. 完全不生成代码,并且不需要XML配置
  1. Create stand-alone Spring applications
  2. Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
  3. Provide opinionated 'starter' POMs to simplify your Maven configuration
  4. Automatically configure Spring whenever possible
  5. Provide production-ready features such as metrics, health checks and externalized configuration
  6. Absolutely no code generation and no requirement for XML configuration

这篇关于Spring Boot的优势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆