What are Spring beans?
The Spring Beans are Java Objects that form the backbone of a Spring
application. They are instantiated, assembled, and managed by the Spring IoC
container. These beans are created with the configuration metadata that is
supplied to the container, for example, in the form of XML <bean/> definitions.
Beans defined in spring framework are singleton beans. There is an
attribute in bean tag named "singleton" if specified true then bean becomes
singleton and if set to false then the bean becomes a prototype bean. By default
it is set to true. So, all the beans in spring framework are by default
singleton beans.
Read More →