首发地址: http://inmethetiger.iteye.com/blog/1681178
一个web开发框架的大致流程应该如下:
1:上下文context
首先是InitialzationServlet
主要用来初始化诸如ApplicationContext。
2:ApplicationContext
主要用来初始化ApplicationContextConfiguration
3:ApplicationConfiguration
通过ApplicationContextConfigurationLoader加载配置文件
4:ApplicationContextConfigigurationer解析配置文件,加载相应类
具体例子有时间再写。