用户名: 密码: 验证码:
基于SSH架构的代码自动生成技术的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本文首先分析了企业级应用面临的挑战,简要介绍了Web开发技术的发展过程,针对亚信科技有限公司的网管产品NetXper IP综合网管系统中编码不规范,架构不清晰,代码冗余度低,模块耦合度大等不足,提出了基于SSH架构的代码自动生成的设计思想。
     本文介绍了主流的Web开发技术,在分析了各种技术的工作原理及优势的基础上,提出了SSH技术的整合框架及整合模式技术路线,设计了基于SSH整合架构的代码自动生成的技术解决方案,并将该技术解决方案应用于NetXpert IP网管系统的资源管理子系统中。与传统的开发方式在开发与维护工作量方面的比较,该方案有效的提高了系统开发效率,提供了一个稳定、快速、高效的软件开发模式,从真正意义上实现了编码的自动化。
With the rapid development of telecommunication and computer science, wide application of internet and immerging of new business, the requirement changes fast, which calls for higher quality of web-based system. To adapt to the change of market and make enterprise more competitive, application system should be scalable and easily adapt to market change.
     To solve the problem how to develop stable and scalable system efficiently and control the development process and quality of code, the article depicts a solution to generate code automatically based on SSH(Struts+Spring+Hibernate), as J2EE has been the solution of many efficient B/S system.This article introduces the mainstream web development technology, after analyzing the theory and advantage of all the technologies, it brings forward a integration framework of SSH technology, it also designs the code auto-generation techonoly solution basiced on that integration framework, which is used in the resource management subsystem of NetXpert(a IP network management system). The solution offers a stable,efficient software development pattern, Comparing with traditional development way, it speeds up both the development and maintenance work. It implements the technology of code auto-generation in a real development environment.
引文
铩颷1]李刚.轻量级J2EE企业应用实战-Struts+Spring+Hibernate整合开发.北京.电子工业出版社.2007
    [2]JohnHunt.ChrisLoftus.精通J2EE JAVA企业级应用.清华大学出版社.2004
    [3]席晓峰.吕梁坝.逯鹏.使用J2EE框架技术构建可重用的Web应用.计算机工程与应用.2005.第41期.208-210,214
    [4]李刚.STRUTS 2权威指南-基于WEBWORK核心的MVC开发.电子工业出版社.2007
    [5]孙卫琴.精通Struts:基于MVC的Java Web设计与开发.北京.电子工业出版社.2004
    [6]孙卫琴.精通Hibernate:Java对象持久化技术详解.北京.电子工业出版社.2005
    [7]计磊.李里.周伟.精通J2EE--ECLIPSE、STRUTS、HIBERNATE及SPRING整合应用案例.人民邮电出版社.2006
    [8]陈松.J2EE电子商务系统开发从入门到精通:基于STRUTS和HIBERNATE技术实现.清华大学出版社.2007
    [9]廖雪峰.SPRING 2.0核心技术与最佳实践.电子工业出版社.2007
    [10]丁鹏,刘方,邵志峰,何丙胜等.STRUTS技术揭密及WEB开发实例.清华大学出版社.2004.03
    [11]Chuck Cavaness.Programming Jakarta Struts,2nd Edition.O'Reilly.June 2004
    [12]James Holmes.Struts:The Complete Reference.McGraw-Hill.2004
    [13]Christian Bauer and Gavin King.Hibernate in Action.Manning Publications.August 2004
    [14]Eric Pugh and Joseph D.Gradecki.Professional Hibernate.Wrox.October 2004
    [15]李磊.程立.周悦红.Spring In Action中文版.人民邮电出版社.2006
    [16]JOHNSON R.HOELLOR J.ARENDSEN A.et al.Spring框架高级编程[M].蒋培.译.北京.机械工业出版社.2006
    [17]Craig Walls.Norman Richards.Xdoclet in Action(In Action series)(2).ManningPublications.2003
    [18]刘勇丹.使用Ant进行Java开发.电子工业出版社.2005
    [19]JesseTily.A NT权威指南[M].北京:中国电力出版社,2003.84-113.
    [20]Jesse Tilly.Eric M.Burke.James Duncan Davidson.Ant:The Defintive Guide.2003
    [21]郭军.网络管理.第2版.北京.北京邮电大学出版社.2003.9.102-107.
    [22]刘传昌.基于Web的IP网络资源管理系统.
    [23]崔海涛.王童童.贺靖民.IP网络管理系统功能需求分析和描述.电信建设.2003.第 6期.28-32
    [24]Bruce Eckel.JAVA编程思想(第2版).机械工业出版社.2002
    [25]阎宏.Java与模式.电子工业出版社.2002
    [26]Hans Bergsten.JSP设计(第三版).中国电力出版社.2004
    [27]Alur D.Crupi J.Malks D.Core J2EE Patterns:Best Practices and Design Strategies[M]Prentice Hall/Sun Microsystems Press,2001
    [28]Gamma E,Helm R,Johnson R 等.Design Patterns:Elementsof Reusable SoftwareArchitecture[M].Addison Wesley,1995

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700