Spring Core: Контейнер IoC и Контекст Flashcards

(7 cards)

1
Q

Spring (общее)

A

https://habr.com/ru/articles/490586/?ysclid=mg5686upsh189013235

https://proselyte.net/tutorials/spring-tutorial-full-version/

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

IoC / DI
Какие преимущества?
Виды внедрения зависимостей
Почему внедрение через конструктор считается best practice?

A

https://www.baeldung.com/inversion-control-and-dependency-injection-in-spring

https://chat.deepseek.com/share/3amz5apyx5d2ltqcgi

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

Жизненный цикл бина
Этапы
BeanPostProcessor и BeanFactoryPostProcessor

A

https://habr.com/ru/articles/893614/?ysclid=mg56o02wwn96374024

https://chat.deepseek.com/share/yv3l87tr97v7gbsuz4

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

Области видимости бинов
Использование prototype внутри singleton).

A

https://chat.deepseek.com/share/pk4h13ub85d7ufr69d

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

Способы конфигурации
Плюсы и минусы каждого

A

https://chat.deepseek.com/share/mjximlwp9kuj4o5w4h

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

Порядок и условие создания бинов
@Order, @DependsOn, @Conditional и его вариации

A

https://chat.deepseek.com/share/pn44ifwkd3peg8t3ve

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

Возникнувшие вопросы:
Что будет, если не закрыть ресурсы через PreDestroy для prototype?

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