怎样理解一个新项目?
2016-12-16 10:03
197 查看
1,明确使用了什么框架?
springmvc、struts1、struts2(Webwork2)
Spring MVC和Struts2的区别
http://blog.csdn.net/fireofjava/article/details/45273615
2,我们一般都是一个web项目,部署在tomcat上
Tomcat 配置详解/优化方案
http://www.jianshu.com/p/637d462262ec
对于基于servlet的web容器来说,遵循的是servlet规范,入口配置文件是web.xml。这类web容器会在启动的时候会而且仅会加载如下三种类型的对象:
servlet
context listener
filter
而且有一定的加载和销毁顺序!
Loading Servlets, Context Listeners, and Filters
Servlets, Context Listeners, and Filters are loaded and destroyed in the following order:
Order of loading:
Context Listeners
Filters
Servlets
Order of destruction:
Servlets
Filters
Context Listeners
Servlets and filters are loaded in the same order they are defined in the web.xml file and unloaded in reverse order. Context listeners are loaded in the following order:
All context listeners in the web.xml file in the order as specified in the file
Packaged JAR files containing tag library descriptors
Tag library descriptors in the WEB-INF directory
一般来说servlet用于接收用户请求,filter作为servlet的拦截器,context listener则作为事件监听器。所以一般都是使用servlet来加载web MVC框架。
3,spring mvc启动
Spring MVC的启动过程
http://www.cnblogs.com/mingziday/p/4987058.html
spring中ContextLoaderListener和DispatcherServlet区别 ApplicationContext
http://tianxingzhe.blog.51cto.com/3390077/1659991
Spring中使用classpath加载配置文件浅析
https://my.oschina.net/yjx/blog/6253
4,确定入口
a,@RequestMapping
b,dubbo provider
c,qmq监听
d,qschedule监听
e,其他的各种定时调度
f,初始化
Spring容器中的Bean几种初始化方法和销毁方法的先后顺序
http://blog.csdn.net/caihaijiang/article/details/8629725
springmvc、struts1、struts2(Webwork2)
Spring MVC和Struts2的区别
http://blog.csdn.net/fireofjava/article/details/45273615
2,我们一般都是一个web项目,部署在tomcat上
Tomcat 配置详解/优化方案
http://www.jianshu.com/p/637d462262ec
对于基于servlet的web容器来说,遵循的是servlet规范,入口配置文件是web.xml。这类web容器会在启动的时候会而且仅会加载如下三种类型的对象:
servlet
context listener
filter
而且有一定的加载和销毁顺序!
Loading Servlets, Context Listeners, and Filters
Servlets, Context Listeners, and Filters are loaded and destroyed in the following order:
Order of loading:
Context Listeners
Filters
Servlets
Order of destruction:
Servlets
Filters
Context Listeners
Servlets and filters are loaded in the same order they are defined in the web.xml file and unloaded in reverse order. Context listeners are loaded in the following order:
All context listeners in the web.xml file in the order as specified in the file
Packaged JAR files containing tag library descriptors
Tag library descriptors in the WEB-INF directory
一般来说servlet用于接收用户请求,filter作为servlet的拦截器,context listener则作为事件监听器。所以一般都是使用servlet来加载web MVC框架。
3,spring mvc启动
Spring MVC的启动过程
http://www.cnblogs.com/mingziday/p/4987058.html
spring中ContextLoaderListener和DispatcherServlet区别 ApplicationContext
http://tianxingzhe.blog.51cto.com/3390077/1659991
Spring中使用classpath加载配置文件浅析
https://my.oschina.net/yjx/blog/6253
4,确定入口
a,@RequestMapping
b,dubbo provider
c,qmq监听
d,qschedule监听
e,其他的各种定时调度
f,初始化
Spring容器中的Bean几种初始化方法和销毁方法的先后顺序
http://blog.csdn.net/caihaijiang/article/details/8629725
相关文章推荐
- ★★★★怎样做好一个项目经理人★★★★
- 对“三层结构”的深入理解——怎样才算是一个符合“三层结构”的Web应用程序?
- 一个新手对软件开发的理解(写自第一个项目--Linpop之后)
- [Ubuntu] 启动gvim时,怎样设置一个项目的文件为打开状态
- 怎样让一个正常人理解“线性代数”
- 怎样使一个项目转化成产品?
- 怎样让一个正常人理解“线性代数”。几乎花掉我全部百度金币下来的文章。
- 在一个引入了dll的C#项目中,怎样进行数组引用啊
- 怎样做好一个项目经理?
- 怎样的项目才算是一个成功的项目
- 对“三层结构”的深入理解——怎样才算是一个符合“三层结构”的Web应用程序?
- 对“三层结构”的深入理解——怎样才算是一个符合“三层结构”的Web应用程序?
- 对“三层结构”的深入理解——怎样才算是一个符合“三层结构”的Web应用程序?
- 怎样从Eclipse当中打开一个存在的项目?
- 对“三层结构”的深入理解——怎样才算是一个符合“三层结构”的Web应用程序?
- 对“三层结构”的深入理解——怎样才算是一个符合“三层结构”的Web应用程序?
- 对“三层结构”的深入理解——怎样才算是一个符合“三层结构”的Web应用程序?
- 怎样做一个职称的项目经理
- 怎样才是一个成功的项目团队呢?
- 怎样在xp下利用tomcat部署一个java web项目 (ZZ)