【SQL开源代码栏目提醒】:网学会员为广大网友收集整理了,WEB快速开发框架 - 硕士论文,希望对大家有所帮助!
华中科技大学 硕士学位论文WEB快速开发框架 级别:硕士 专业:软件工程 指导教师:高建生 2009-11-01 华 中 科 技 大 学 硕 士 学 位 论 文 摘 要 随着信息化的深入发展,越来越多的企业和政府部门将业务延伸到互联网,或基于互联网,使得如今 WEB 应用不断丰富和发展。
为了快速高效的开发出 WEB 应用系统,我们一般都会选择某些合适的开发框架,以减少重复开发工作量、缩短开发时间、降低成本,使程序设计更为合理、运行更加稳定。
在项目中应用一个好的框架,将对项目的效率至关重要。
轻量级框架可以有效的减小系统开发难度,使开发者更加专注于系统业务流程,使得开发更具效率。
这样也使得轻量级框架在处理能力上相对减弱,比如事物功能弱,不支持分布式处理等。
为解决这些问题,本文设计并实现了一款新的 WEB 快速开发框架 WRDF(WEB Rapid DevelopmentFramework)。
其主要对框架应用配置进行的简化,使其更为轻量;添加了系统模块的热部署支持;利用 Java EE 5 的注解和反射机制实现 POJO 持久化;添加了数据的多级多点同步以实现分布式处理支持。
最终形成了一套基于 Java EE5 的轻量级 WEB快速开发框架 WRDF。
该框架中小型系统上表现优良,可以扩展到大型系统上,极大的提高了系统开发效率。
文章最后还给出了一些提高系统效率的部署方案。
关键词:WEB 应用 框架 模块 持久化 反射 同步 部署 I 华 中 科 技 大 学 硕 士 学 位 论 文 Abstract With the further development of information technology more and more businessenterprises and government departments will be extended to the Internet or Internet-basedso WEB applications constantly enrich and develop. For fast and efficient development ofWEB applications generally we will select some appropriate development framework toreduce duplication of development effort shorten the development time reduce costs andmake programming more reasonable and more stable. A good framework applied in theproject it will be critical to the project efficiency. Lightweight framework can effectivelyreduce the system develop difficult enable system developers to focus more on businessprocesses making the development more efficient. Lightweight framework that makesrelatively less processing power such as transaction is weak not support distributedprocessing. To solve these problems designed and implemented a new WEB RapidDevelopment Framework WRDF. we reduce framework application to make it morelightweight add the system module hot deployment support use of Java EE 5 annotationsand reflection to achieve POJO persistence added data multi-level multi-pointsynchronization in order to achieve distributed processing support. Ultimately form a setof lightweight Java EE5-based WEB rapid development framework WRDF. Theframework performanced excellent in small and medium systems it also can be extendedto large systems. The use of the frameword can greatly improves the efficiency of systemdevelopment. This paper finally gives some deployment options to improve systemefficiency.Key
words:WEB applications framework module Persistence Reflection Synchronization Deployment II 华 中 科 技 大 学 硕 士 学 位 论 文 1 绪论 本 论 文 中 设 计 实 现 的 框 架 名 称 为 “WEB 快 速 开 发 框 架 ( WEB RapidDevelopment Framework)”,简称 WRDF,为描述方便,下文中 WRDF 均指该框架。
1.1 背景 2009 年年底,我所在的实习单位承接某单位办公自动化系统(OAS)建设项目。
该单位有如下特点: 工作人员数量多1。
就要求系统能够承载大量用户同时在线办公,这将对系统的并发性,实时性要求很高。
人员身份构成复杂。
对用户的权限管理2,身份管理和角色管理控制严格且灵活。
下属单位多,分布地域广。
在系统部署上需要多点多级部署,就要在数据上需要实现分布式处理,实现数据的多点多级同步。
此外客户对系统的构架整体要求有: 根据统一规范,实现信息化的规范化、标准化。
统一的信息模型,规范的数据定义,保证多级多点数据同步和数据安全3。
遵循分层和复用设计理念,按照组件化、策略化设计原则进行设计开发,建立数据与应用相分离、应用与策略相分离的技术架构4,支持新功能的快速开发。
采用模块化结构。
各模块任务独立,为其它模块提