文档介绍:南昌航空大学
硕士学位论文
基于J2EE设计模式的申报评审系统的研究与实现
姓名:杨霄彩
申请学位级别:硕士
专业:计算机应用技术
指导教师:郑强
20080101
摘要
软件项目需求的日益复杂和频繁变更,要求在系统开发时能通过合理的层次
划分和先进的开发技术保证开发质量、提高开发效率以及为程序的升级和移植提
供便利。
能够充分利用己有的软件开发经验将使开发工作事半功倍。设计模式的出现
就是帮助人们利用成功软件设计师们的集体经验设计出更加优秀的软件。设计模
式描述了某一问题在某一环境下的解决方案。通过研究优秀的设计模式,将其引
入实际开发工作,不仅可以植入优化系统性能的设计思想,而且可以尽可能多地
复用代码。J2EE 设计模式则是 J2EE 架构中应用设计模式的经验总结,其中大部
分是 Sun Java 中心的架构师们在多年的工作过程中积累的已验证有效的设计和构
架。
本文在广泛研究 J2EE 设计模式的基础上,以江西省科技厅成果申报评审系统
为依托,详细阐述了拦截过滤器、外观模式、数据访问对象、适配器模式、传输
对象等 J2EE 设计模式在实际系统开发环境中进行的选用和实现。此外,论文结合
评审工作流程提出了若干设计模式配合使用的设计实例——评审工作流微架构,
着重阐述了对此进行的研究、设计及其实现。
设计模式及微架构的使用,实现了系统各层之间的松耦合、增强了业务逻辑
内的紧耦合,使系统具有一定的灵活性和扩展性,有利于满足用户需求的变更或
是系统的后期维护和升级。同时,这样的构成更容易展开团队合作,提高了代码
生产率,加速了软件产品投放市场的周期。
关键词:设计模式,J2EE 设计模式,申报评审系统,评审工作流微架构
I
Abstract
Needs of software projects are plex and frequently changed. Thus,
during developing systems, it is requested to ensure the quality of development,
enhance the efficiency of development as well as provide facility for upgrading and
transplanting procedures by reasonable level dividing and advanced developing
technology.
Taking full advantage of software development experience will enable developing
to achieve maximum results with little effort. The design patterns emerge for people to
make use of software experience summarized by essful designers to design more
outstanding software. Every design pattern describes a general solution to a specific
problem in particular context. By studying excellent design patterns, and introducing its
into actual development work, not only design ideas about optimizing system
performance can be embedded, but also code can be as much as possible reused. And
J2EE Design Patterns are a lot of experience of applying design patterns in J2EE
architecture, most of them are effective design and architecture proven and accumulated
by architecturers from Sun Java centre in the years’ work process.