These are the common used applicationContext to bootstrapping your apps. Let’s say your applicationContext.xml are place under this folderĀ [Project]/src/main/resources/.
- AnnotationConfigApplicationContext
- ClassPathXmlApplicationContext
Always start from your classpath.
- FileSystemXmlApplicationContext
Always start from your project root folder.
- GenericXmlApplicationContext
You can use either file path or classpath by specified “file://” or “classpath:”
Bootstrap your ApplicationContext