April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Spring Bean Definition
nBean examples – DAO, DataSource, Transaction Manager, Persistence Managers, Service objects, etc
nSpring config contains implementation classes while your code should program to interfaces.
nBean behaviors include:
nSingleton or prototype
nAutowiring: byName, byType, constructor, autodetect
nInitialization and destruction methods
ninit-method
ndestroy-method
nBeans can be configured to have property values set. 
nCan read simple values, collections, maps, references to other beans, etc.