• Courses
  • Tutorials
  • DSA
  • Data Science
  • Web Tech
November 30, 2022 |7.9K Views

Difference between ApplicationContext and BeanFactory in Spring framework

Description
Discussion

In this video, we will be discussing what is the difference between ApplicationContext & BeanFactory in Spring Framework.

A container is used in the Spring framework to create and manage objects. This container is known as an IOC container. IOC Container is represented by Interface. 

Both interfaces, Applicationcontext and BeanFactory represent the IOC container. But, ApplicationContext has more features and it is widely used by programmers. BeanFactory is the core interface for accessing and managing a Spring bean container. 

ApplicationContext is designed on top of the BeanFactory interface. It is an advanced container. It has more features than BeanFactory for instantiating, configuring, and managing the beans. 

ApplicationContext vs BeanFactory: https://www.geeksforgeeks.org/spring-difference-between-beanfactory-and-applicationcontext/