From the course: Spring: Framework in Depth
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Introduction to the ApplicationContext
From the course: Spring: Framework in Depth
Introduction to the ApplicationContext
- The Application Context, and more specifically The BeanFactory, is one of the most important components in the spring framework. As we dig in deeper to the framework as a whole, we need to fully understand the Application Context, and the role that it plays during run time of our applications. The first thing we need to discuss is the purpose of the Application Context. The Application Context acts as the heart of the Spring Application. This is the central element that you deal with from the Spring framework, when developing an application. As previously mentioned, your classes should seldom, if ever have imports from the Spring framework except in annotations. However , the Application Context and the entry point of your application is an exception. The Application Context encapsulates the BeanFactory. The BeanFactory, as we will discuss, is the I-o-C container itself. The Application Context encapsulates it…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.