Spring Boot Notes
Spring Boot Notes
ntr
oduci
ngSpr
ingBoot
Spri
ngBootmak esi
teasytocreat
es tand-al
one,product
ion-gr
adeSpr i
ng
basedApplic
ati
onsthatyoucan“ j
ustrun”.Wetakeanopi nionatedvi
ewoft he
Spri
ngplatf
orm andthi
rd-
part
ylibr
ariessoy oucangets t
artedwi t
hmi ni
mum
fus
s.Mos tSpri
ngBootappli
cati
onsneedv eryl
it
tl
eSpr i
ngc onfigurat
ion.
Youcanus eSpr i
ngBoottocreat
eJ avaappli
cat
ionsthatc
anbestar
ted
usi
ng java -jar
ormor et
radi
ti
onalwardeployments.Wealsopr
ovi
dea
commandl inet oolt
hatr
uns“spri
ngs cr
ipt
s”.
Ourpr
imar
ygoal
sar
e:
• Provi
dearadi
cal
l
yfasterandwi
del
yacces
sibl
eget
ti
ngs
tar
ted
exper
ienc
eforal
lSpr
ingdevel
opment
.
• Beopini
onat
edoutoft
hebox,butgetoutoft
hewa
yqui
ckl
yas
r
equi
rementsst
artt
odiv
ergefr
om thedefaul
ts
.
• Prov
idearangeofnon-f
unct
ionalf
eatur
esthatarecommontolarge
cl
assesofpr
ojec
ts(e.
g.embeddeds erv
ers
,s ecur
it
y,met
ri
cs,healt
h
checks
,ext
ernal
i
zedconfigurati
on)
.
• Absolut
e l
ynoc odegener
ati
onandnor
equi
reme
mentf
orXML
configurati
on.
Sys
tem Requi
reme
ment
s
Spr
ingBoot2.
0.0.
BUI
LD-
SNAPSHOTr
equi
resJav
a8
andSpr
ingFr
ame
mewor
k
5.
0.0.
BUI
LD-
SNAPSHOTorabo
ve.Ex
pli
ci
tbui
l
dsuppor
tispr
ovi
dedf
or
Mav
en(
3.2+)
,andGr
adl
e3(
3.4orl
ater
).
Ser
vletcont
ainer
s
Thef
oll
owi
ngembeddeds
erv
letc
ont
ainer
sar
esuppor
tedoutoft
hebo
x:
Youcanalsodepl
oySpr
ingBootappl
i
cat
ionst
oan
ySer
vlet3.
0+c
ompat
ibl
e
cont
ainer
.