这边的配置文件,主要是指spring的配置文件.
website或者boot,是一定会给源码的,这2个工程是负责spring启动的.需要弄清楚spring到底加载了哪些东西.
applicationContext.xml
无论是website工程还是boot工程,都会使用main/resources/applicationContext.xml加载spring,不同的地方在于,website工程会通过applicationContext加载datasource和transaction,boot不会,boot项目的datasource是通过application-druid.yml配置加载.
2021/10/28大约 4 分钟
