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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many bean scopes are supported by the spring?

A

SIngleton, prototype, request, session, globalSession

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly