首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于Struts框架的Web应用设计与实现
引用本文:李梅.基于Struts框架的Web应用设计与实现[J].人天科学研究,2010(7):113-115.
作者姓名:李梅
作者单位:鲁东大学信息科学与工程学院,山东烟台264025
摘    要:随着面向对象技术和Web技术的发展,软件框架技术在Web开发中得到了广泛应用。Struts作为一个开源的Web层框架,是MVC及J2EE若干核心模式的标准实现,方便了代码的编写和管理,适用于大型、复杂的Web应用开发。讨论了Struts框架的工作原理,提出了一种基于Struts框架的Web应用软件设计方法(Struts+proxy+DAO),并结合具体开发实例对架构的实现过程进行了详细描述。实践证明,基于Struts+proxy+DAO的Web应用系统具有很好的灵活性和易维护性。

关 键 词:MVC  Struts框架  数据访问对象  对象/关系映射

Design and Implementation of Web Application Based on Struts Framework
Abstract:With sophisticated technologies like Object-Oriented and Web technology being applied, software framework technology is used extensively in Web application development. As a best popular open-source framework, Struts framework is a standard implementation of MVC and some core J2EE design patterns, which greatly facilitates writing and managing codes. Struts framework is especially suitable to develop large-size and complex Web applications. The work principle of Struts framework is probed into at first. Then,based on Struts framework,a method of designing the reusable Web software is proposed. Finally,combined an example,the program structure is described in detail. As a result, system based on the structure of Struts,Proxy and DAO is more flexible and maintainable.
Keywords:MVC  Struts Framework  DAO  O/RM
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号