View RSS Feed

Spring Framework

Introduction to Spring BeanFactory

Rate this Entry
by , 07-07-2012 at 06:35 PM (1102 Views)
Factory design implementation is the beanís factory. This class has a responsibility is creation or dispension of the beans. Bean factory is basically the general purpose sort of factory. Application objects are instantiated and delivered by the bean factory. Bean factory is aware of various objects present in application. Associations are created b/w the collaborated objects when they are instantiated or configuration burden is being removed from the bean. This also has a vital role in bean life cycle making calls to the destruction methods or custom initialization, in case such methods have been defined properly.

  1. org.springframework.beans.factory.xml.XmlBeanFacto ry is most commonly used implementation of the beanfactory. Bean based definition is loaded present in xml files.
  2. For creation of the XmlBeanFactory pass

Submit "Introduction to Spring BeanFactory" to Facebook Submit "Introduction to Spring BeanFactory" to Digg Submit "Introduction to Spring BeanFactory" to Submit "Introduction to Spring BeanFactory" to StumbleUpon Submit "Introduction to Spring BeanFactory" to Google

Bean Factory