wpa5-6spring Flashcards

1
Q

inversion of control

A

O rizeni toku se stara framework – hollywood : zavislosti nevkladamy my ale nechame pracovat framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

dependency injection

A

zavislost nejake tridy na implementaci dilcich sluzeb : vymena implementaci by vyzadovala prepis všech inicializaci v kodu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

service locator

A

aplikace je zavisla na konkretnich impl sluzbach : locator =… bookDao=locator.get(bookDao) : vznikla však zavislost na locatoru

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

@Configurable

A

není mozne aby spring spravoval zivotni cyklus beany ale presto vyzadujeme injekci zavislosti

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

integrace kontejneru

A

nektere frameworky jsou samy o sobe kontejnerem (JSF) : nejprve puvodni kontejner resolvuje ze svého obsahu a pokud nenajde prislusnou beanu jde do Springu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly