关于SpringBoot有哪些特性,SpringBoot官网是这么描述的:
Create stand-alone Spring applications
Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
Provide opinionated ‘starter‘ dependencies to simplify your build configuration
Automatically configure Spring and 3rd party libraries whenever possible
Provide production-ready features such as metrics, health checks and externalized configuration
Absolutely no code generation and no requirement for XML configuration
它的意思是说,SpringBoot可以创建独立的Spring应用程序,并且有内置的服务器,同时可以大量的减少构建配置,基本上不需要代码的生成和XML的配置以及尽可能多的提供第三方库。对于我们开发人员来说最明显的优势就是,我们现在搭建一个项目不需要像以前搭建传统框架一样需要大半天的时间写各种XML配置,而SpringBoot只需要你通过注解的形式配置开发当中一些动态的参数即可,比如数据库的连接信息。
原文:https://www.cnblogs.com/qianshui2019/p/11181555.html