Beans Flashcards
1
Q
Explain spring beans?
A
- Objects that form the backbone of the users application
- it is an object that instantiated, assembled and managed by IoC container
- they are created with the configuration metadata
2
Q
How many bean scopes are supported by the spring?
A
SIngleton, prototype, request, session, globalSession
3
Q
Define bean wiring
A
- Wiring means beans are combined together within the spring container
- while wiring beans, the spring container needs to know what beans are required and how the container should use DI to tie them together