Struts框架控制器及其进化的模式分析  被引量:3

Analysis of patterns used in struts controller and its improvement

在线阅读下载全文

作  者:张英奇[1] 郭希娟[1] 张毅[2] 张利辉[2] 

机构地区:[1]燕山大学计算机科学与技术系,河北秦皇岛066004 [2]中国环境管理干部学院计算机科学与技术系,河北秦皇岛066004

出  处:《计算机工程与设计》2006年第22期4322-4324,共3页Computer Engineering and Design

摘  要:Struts框架为Web应用提供了预备的软件架构和相关的软件包,它的实现源代码使用设计模式以满足框架本身的复用性要求。简要介绍了Struts框架如何实现MVC模式,通过分析Struts框架控制器源码所使用的经典设计模式和J2EE模式阐明了Struts框架的工作原理及设计思想。针对该框架只能支持HTML格式终端数据的问题,讨论了如何使用具体设计模式将其控制器进化为以XML格式数据为应用处理核心来屏蔽各种客户终端。The struts framework supplied a prepared software architecture and software packages for web application. Its source code is implemented using design patterns to meet the demand of software reuse, its principle and design idea are illuminated by analyzing the classical design patterns and J2EE patterns used in the framework controller after the MVC pattern is introduced. According to the request of supplying more data formats apart from HTML, how to improve the framework controller is debated by using design patterns to handle XML data and fit other kinds of client.

关 键 词:STRUTS 框架 MVC模式 设计模式 J2EE模式 可扩展标记语言 

分 类 号:TP393.09[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象