一个web框架的开发流程

首发地址: http://inmethetiger.iteye.com/blog/1681178

一个web开发框架的大致流程应该如下:

1:上下文context

首先是InitialzationServlet

主要用来初始化诸如ApplicationContext。

2:ApplicationContext

主要用来初始化ApplicationContextConfiguration

3:ApplicationConfiguration

通过ApplicationContextConfigurationLoader加载配置文件

4:ApplicationContextConfigigurationer解析配置文件,加载相应类

具体例子有时间再写。

猜你喜欢

转载自inmethetiger.iteye.com/blog/1681178