Spring MVC -- My understandings and Notes
Which is better Bean factory or Application Context?. Bean factory instantiates and Configures the Bean, Application context also does the same however Application Context enables the configured bean for many other enterprise specific features like AOP and transactions. So always Application Context is better except in case where resources are limited as in mobile. Bean Factory provides advanced configuration mechanisms to manage the beans of any types.Application context is build on top of this and provides easy access to features like AOP and Transaction Management.Application Context is Complete super set of Bean factory and all features in bean factory are present in application context and it enables the beans to be more enterprise centric. The org.springframework.beans.factory.BeanFactory is the actual representation of the Spring IoC container .org.springframework.beans.factory.BeanFactory is the actual representation of the Spring IoC container. The Most Commonly