Please send your Questions & Answers or Feedback to ""

Explain the Spring Bean Definition ?

The bean class is the actual implementation of the bean being described by the BeanFactory.

Bean examples – DAO, DataSource, Transaction Manager, Persistence Managers, Service objects, etc

Spring config contains implementation classes while your code should program to interfaces.

Bean behaviors include:

Singleton or prototype


Initialization and destruction methods



Beans can be configured to have property values set. 

Can read simple values, collections, maps, references to other beans, etc.

Related Posts Plugin for WordPress, Blogger...
Flag Counter