Spring / Spring Beans
What are Beans in Spring framework?
The Spring Beans are nothing but Java Objects that forms the backbone of a Spring application. Those beans are instantiated, assembled, and managed by the Spring IoC container. These beans are created using the configuration metadata definition supplied to the container, for example, in the form of XML
All the beans in spring framework are singleton beans by default. An attribute in xml bean tag named "singleton" is set to true then bean becomes singleton and if set to false then the bean becomes a prototype bean.
More Related questions...