Spring Flashcards

1
Q

Basic idea of IoC pattern. Benefits.

A

the flow is inverted: custom-written portions of a computer program receive the flow of control from a generic framework.

Decoupling components and layers in the system
Swap dependency implementations in different environments.
easier to test your code.

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

Out of the box bean scopes

A

singleton, prototype, request, session, global session

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

What are the types of Dependency Injection Spring supports?

A

Constructor
Setter
Autowiring

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

Autowiring. Types of autowiring.

A

byName
byType

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

What are inner beans.

A

bean inside other bean

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

What modules does Spring Framework have?

A

Core, AOP, Web, Test, Data

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