基于UML与J2EE架构的信息系统设计实现技术
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着信息系统的不断发展,应用需求日益增多,涉及的领域越来越广,信息系统的复杂性也变得越来越高。而构造一个可维护的、可伸缩的和可扩展的应用系统,在业务管理和技术实现上的复杂度就更高了,这使得设计技术与实现技术显得至关重要。应用系统的发展极为迅速,系统经常需要维护和扩展,否则就要面临过时和被淘汰的危险。如果没有仔细规划并设计系统,那么当面对新的需求时,系统将很难升级。
     如果把设计技术与实现技术很好的结合,则能建立一个具有稳定性、可重用性、可扩展性和可维护性的系统,并且减小设计人员与开发人员之间沟通的难度。本文在对信息系统开发方式进行深入研究后,通过对目前各种J2EE框架组件的比较,在Web层选择Struts,在持久层选择Hibernate,提出了集二者优势的通用企业应用框架GEAF,描述了GEAF的层次关系及实现机制。
     J2EE所提供的技术和业务的实际需求之间还存在巨大的语义差距。要缩小这个差距,就要对J2EE和具体应用领域系统的合理体系结构有一个清晰的理解。UML可以把J2EE的技术与实际业务需求连接起来。UML是软件的蓝图语言,它能以可视化、具体化和结构化的方式描述复杂系统的主要元素,使设计技术与代码达到一致。
     本文分析了目前大多数软件开发中存在的问题,如设计与编码分离,开发人员和设计人员不能很好的沟通,系统经过长时间的维护和扩展后代码和设计不一致等。针对这些问题,提出利用UML建模工具在J2EE系统框架下加入一致的设计模式,并生成系统程序代码框架。研究了面向对象的设计方法(OOD)和统一建模语言UML,分析了UML的设计建模与代码生成过程。最后,通过一个应用实例给出面向J2EE架构的UML的设计实现过程,说明UML和J2EE架构的结合是一种可行的、高效的设计开发方法。
With the development of information system, more and more applications are required. The fields that it involved in are becoming broader,and the higher complexity of information system is incurred. But the complexity of the business management and the technical realization are higher to construct an application system which is reusable, flexible and expansible. This causes the technology of design and realization appears vital. The development of application system is extremely rapid, the system needs to maintain and expand frequently. Otherwise, it will be face with obsolete and danger which is eliminated . If we don't plan and design the system carefully, when in front of new demand, the system will be difficult to promote.
     If we can unite the design technology with realization technology very well. It will establish one system which is stable, reusable, extensible and maintainable. And reduce the difficulty of communication which is between designers and programmers. With the high-speed developing of information and comparing each kind of components of present J2EE framework ,the paper choose Struts for the web layer and Hibernate for the lasting layer to design and realize the General Enterprise Application Framework which unify the advantages of them, and describe the relations of the layers and realization in GEAF.
     It has huge semantic disparity between technical and actual demand of business which provides in J2EE.If we want to surmount this disparity, we must has one basic and clear understanding to J2EE and the reasonable architecture of concrete application domain system. UML may help to connect technology of J2EE with demand of business. UML is blueprint language of software. it can describe the principal element of complex system by visual, concrete, structural, and enable the design technology to achieve consistently with the code.
     The paper analyse the present majority problems which are in software exploitation,for example,the separation of design and code, designers and programmers can not communicate very well each other,the code and the design is not consistent after maintaining and enpanding in the long time and so on. Aim at these,the paper uses modelling tool of UML to join consistent design pattern into J2EE framework and generate system procedure code framework. Researching OOD and UML,analyzing the progress that set up designing model of UML and generate code. Finally,using an example to show designing and realizing progress of which is facing to framework of J2EE,explain the unite of UML and J2EE framework is a feasibility and high- efficiently designing method.
引文
① 宁波.J2EE结合UML在企业级系统中的应用[J].计算机工程与科学.2004.3.第26卷第3期82
    ② 开源项目: Jdon Framework http://www.dearbook.com.cn/WebResource.aspx?id=960[DB/OL]
    ③ http://shenzhen.ccw.com.cn/work/200203/0305_1.asp[DB/OL]
    ④ 邓勇,丁峰,沈钧毅.基于UML的软件体系结构建模方法的研究[J].小型微型计算机系统.2001,22(10),1206-1209
    ① The Struts User's Guide: http://jakarta.apache.org/struts[EB/OL]. 2004
    ② Web 框架比较: http://dev.csdn.net/article/50/50598.shtm[DB/OL]
    ③ David M. Geary. Core JSTL:Mastering the JSP Standard Tag Library[M]. Prentice Hall PTR. 2002
    ④ 宁波.J2EE结合UML在企业级系统中的应用[J].计算机工程与科学.2004.3.第26卷.第3期82
    ⑤ 李海波,蒋蓉译.RickCattel, JimInscore.Enterprise Partners J2EE技术实践[M].北京:机械工业出版社.2002
    ① http://www.itisedu.com/phrase/200602281513385.html[DB/OL]
    ② 吴建 郑潮 汪杰 编著.UML基础与Rose建模案例[M].人民邮电出版社.2004.10.2
    ③ 金毅,杨宗英.UML在数字图书管中的应用[J].现代图书情报技术.2002,(6)
    ④ Booch、Rumbaugh、Jacobson著.邵维忠等译.UML用户指南[M].机械工业出版社.2001
    ⑤ 张龙祥.UML与系统分析设计嗍.北京:人民邮电出版社.2001.10.17-20
    ⑥ 张莉,葛科,王云等.标准建模语言UML及其支持环境[J].计算机世界.1998第43期(连载)
    ⑦ 邱仲潘等译.UML与Rational Rose 2002从入门到精通[M].北京:电子工业出版社.2002
    ⑧ Booch、Rumbaugh、Jacobson著.统一软件开发过程[M].周伯生等译.机械工业出版社.200l
    ① Robert A Maksimchuk Eric J. Naiburg著.李虎 范思怡译.UML初学者指南[M].人民邮电出版社.2005.6.17-20
    ② 吴建 郑潮 汪杰 编著.UML基础与Rose建模案例[M].人民邮电出版社.2004.10
    1.汪清.基于UML和J2EE技术运用先进工具进行软件开发的研究[D].武汉大学.2005.1
    2.Rebecca Wirfs-Brock.面向对象设计经典[M].北京:机械工业出版社.2003
    3.张龙祥.UML与系统分析设计[M].人民邮电出版社.2001.10
    4.吴建 郑潮 汪杰编著.UML基础与Rose建模案例[M].人民邮电出版社.2004.10
    5.Wendy Bogs Michael Boggs著,邱仲潘等译.UML with Rational Rose从入门到精通[M].北京,电子工业出版社.2002.
    6.Booch、Rumbaugh、Jacobson著.邵维忠等译.UML用户指南[M].机械工业出版社.2001
    7.谢颖.RUP技术研究及在数据代理中的应用[D].武汉科技大学信息科学与工程学院.2005.5
    8.Booch、Rumbaugh、Jacobson著.周伯生等译.统一软件开发过程[M].机械工业出版社.2001
    9.胡佼.基于J2EE的Web整体框架的设计与应用[D].西南交通大学.2006.3
    10.Bruce E.Wampler,王海鹏译.Java和UML面向对象的程序设计[M].人民邮电出社.2002
    11.程学先,赵岚.UML在业务用例中的研究[J].湖北工业大学学报.2005.20(1)
    12.李凯.基于UML与J2EE的物流管理系统的设计与实现[D].吉林大学.2005.3
    13.Paul R.Reed,Jr.JAVA与UML协同开发[M].北京:清华大学出版社.2003
    14.Paul J.Perrone,etal.张志伟,谭都松,张明杰译.J2EE构建企业系统专家级解决方案[M].清华大学出版社.2001
    15.曾天慧.基于J2EE与UML的Web多层应用体系研究与应用[D].兰州理工大学.2006.6
    16.Erich Gamm,Richard Helm,Ralph Johnson,John Vlissides,设计模式:可复用面向对象软件的基础[M].机械工业出版社.2000
    17.孙卫琴.精通Struts:基于MVC的Java Web设计与开发[M].电子工业出版社.2004.8
    18.孙卫琴.精通Hibernate:Java对象持久化技术祥解[M].北京:电子工业出版社.2005.5
    19.杨健.基于J2EE平台的对象持久化研究[D].武汉理工大学硕士学位论文.2005
    20.陈士川.UML在信息管理系统开发中的应用研究[J].能源技术与管理.2005.第一期
    21.朱卫华,张来玉,范新灿.基于MVC的J2EE企业应用系统架构的实现[J].现代计算机.2004;2
    22.黄烟波,张红宇,李建华.基于Struts和Hibernate的J2EE架构[J].计算机时代.2004.第10期
    23.何锦望.运用UML与Struts构建基于J2EE的多层Web应用[D].四川大学计算机学院.2005.4
    24.刘晓华,J2EE企业级应用开发[M].电子工业出版社.2003,
    25.刘超,张莉.可视化面向对象建模技术——标准建模语言UML[M].北京航空航天大学出版社.2001
    26.樊康新.用UML实现面向对象的MIS系统分析与设计[J].南通工学院学报自然科学版.2004.9.第三卷,第三期
    27.邵维忠,蒋严冰,麻志毅.UML现存的问题和发展道路[J].计算机研究与发展.2003.第40卷.第4期
    28.艾苹,曹青松.基于UML和轻量级J2EE的软件开发方法[J].水利水文自动化.2006.6.第二期
    29.孙晨阳.UML语言及在重点税源信息系统开发中的应用研究[D].天津大学.2005.1
    30.Tom Pender.UML宝典[M].电子工业出版社.2004.1
    31.张渊.J2EE设计模式与UML在EAI系统中的应用研究[D].西北工业大学计算机应用技术.2006.3
    32.Khawar Zaman Ahamed,Cary E.umrysh,,康博译.用J2EE和UML开发java企业应用程序[M].清华大学出版社.2002
    33. David M.Geary, Core. JSTL:Mastering the JSP Standard Tag Library [M]. Prentice Hall PTR. 2002
    34.Inderjeet Singh, Beth Steams, Mark Johnson and the Enterprise Team. Designing Enterprise Applications with the J2EE Platform, Second Edition[M]. 2002. the first edition
    35. Jim Conallen. Modeling Web Application Architecture with UML Rational Software[M]. June 1999
    36. Martin Fowler. "UML" 2003-The Unified Modeling Language[J]. Computer Science. 2003.2863(9)
    37. Neil MacKinnon,Steve Murphy. Designing UML Diagrams for Technical Documentation[A]. SIGDOC,03[C],2003
    38. Andrew James Rodriquez. Applying Use Cases, Object-Oriented Analysis and UML in the Development of Power Scheduling Systems[A]. Power Engineering Society Winter Meeting,IEEE[C].2002
    39. Kassern, Nichilas and Enterprise Team. Designing Enterprise Application with the Java 3 Platform[M]. Addison-Wesley 2000
    40. Deepark Alur, John Crupi and Dan. MalksCore J2EE Patterns: Best Practices and Design Strategies[M]. Prentice-Hall. 2001
    41. Craig Larman. Applying UML and patterns:An Introduction to Object-Oriented Analysis and Design[M]. Prentice-Hall. 1997
    42. Mark Prienstley. Practical Object-Oriented Design with UML[M].清华大学出版社. 2004,6. second edition,
    43. James Rumbaugh, Ivar Jacobson, Grandy Booch,. The Unified Modeling Language Reference Manual[M]. 机械工业出版社. 2005.8
    44. Peter Eeles,Kelli Houston,Wojtek Kozaczynski. Building J2EE Applications with the Rational Unified Process[M]. 2004,6
    45. Jim, Arlow, Ila Neustadt. UML and the Unified Process Practical Object-Oriented Analysis&Design[M]. 机械工业出版社 2003.2
    46. Eric J.Braude. Software Design With Patterns,UML,and Components[M]. Wiley. 2002
    47. Richard Hubert. Convergent Architecture Building Model-Driven J2EE Systems with UML(OMG Press). Wiley. 2001
    48.UML规范官方网站:http://www.uml.org[DB/OL]
    49.UML中国官方网站:http://www.umlchina.com[DB/OL]
    50.SunJ2EE规范官方网站.http://java.sun.com/j2ee[DB/OL]

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

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

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