Spring Boot makes it easy to create stand-alone, production-grade Spring-based Applications that you can run. We take an opinionated view of the Spring platform and third-party libraries, so that you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
You can use Spring Boot to create Java applications that can be started by using java -jar or more traditional war deployments. We also provide a command line tool that runs “spring scripts”.
Our primary goals are:
1.Provide a radically faster and widely accessible getting-started experience for all Spring development.
2.Be opinionated out of the box but get out of the way quickly as requirements start to diverge from the defaults.
3.Provide a range of non-functional features that are common to large classes of projects (such as embedded servers, security, metrics, health checks, and externalized configuration).
4.Absolutely no code generation and no requirement for XML configuration.
原文來自:(https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started-introducing-spring-boot.html)
通過閱讀這篇文章我了解到
1.spring-boot使你可以使用的獨立創(chuàng)建的基于spring的生產(chǎn)級程序開發(fā)變得簡單
2.官方對spring平臺和第三方庫有自己的見解娇钱,這樣我們就可以很方便地應(yīng)用
3.大多數(shù)spring boot 程序只需要很少的配置
4.我們可以用spring boot 去創(chuàng)建java程序通過java - jar或者更多更傳統(tǒng)的war部署舶吗,同時還提供了命令行控制去運行“spring - scripts”
spring-boot的目標(biāo)是
1.為spring開發(fā)者提供更快捷絮蒿,更廣泛杈女,更易于理解的開發(fā)體驗
2.做到開箱即用(自動感應(yīng)需求?)豁遭,快速解決后期需求變更帶來的問題
3.為一些共同特點的大型項目提供非功能的特性
4.配置不需要代碼生成也不需要xml文件
返回WeekTwo