Spring provides several flavors of application context as a bean container. There are multiple core implementations of the ApplicationContext interface, as shown here:
- FileSystemXmlApplicationContext: This class is an implementation of ApplicationContext that loads application context bean definitions from the configuration files (XML) located in the file system.
- ClassPathXmlApplicationContext: This class is an implementation of ApplicationContext that loads application context bean definitions from the configuration files (XML) located in the classpath of the application.
- AnnotationConfigApplicationContext: This class is an implementation of ApplicationContext that loads application context ...