More Related Content
More from Justin Lin (20)
Ch14 簡介Spring Boot
- 5. 哈囉!Spring Boot!
• Spring Boot將開發Web時必要的相依程式庫,
都整理在這個Starter相依之中
• 不用自行設定spring-webmvc、spring-context
等相依程式庫
• 使用的Spring版本,決定於使用的Spring
Boot版本
– 例如Spring Boot 1.5.10是基於Spring 4.3
5
- 7. 哈囉!Spring Boot!
• Spring Boot會自動看看相依程式庫設定,自
動產生並注入元件
• 在Spring Boot一開始感覺像是零組態,然而
這並不是表示不需要任何設定
• 有許多設定都有預設值或行為了,在想要預
設值以外的設定時,才需要進行相關組態
7