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.
2
Q
Out of the box bean scopes
A
singleton, prototype, request, session, global session
3
Q
What are the types of Dependency Injection Spring supports?
A
Constructor
Setter
Autowiring
4
Q
Autowiring. Types of autowiring.
A
byName
byType
5
Q
What are inner beans.
A
bean inside other bean
6
Q
What modules does Spring Framework have?
A
Core, AOP, Web, Test, Data