文档介绍:西安电子科技大学
硕士学位论文
基于MDA的Web应用系统开发框架的设计与实现
姓名:蒋理
申请学位级别:硕士
专业:软件工程
指导教师:武波;刘小冬
20100301
摘要
对象管理组织(Object Management Group,OMG)提出的模型驱动架构(Model
Driven Architecture,MDA)的设想是让开发人员把设计的重心转向到模型的设计,
模型转换工具则相当于编译器的角色,代码可由模型直接自动生成,开发人员只
需关注和维护系统的模型,就能够完成由需求变化带来的各种问题。可以预见
MDA 的最终实现将带来崭新的软件开发模式。
本文首先介绍 Web 应用的开发模式和 MDA 开发的相关原理、技术标准、核
心技术和开发模型,并参考 MDR(Model-Driven Runtime)的概念,结合可执行
XML(eXtensible Markup Language),探讨了基于 MDA 的 Web 应用开发模式与现
有 Web 开发模式的不同。并结合 MVC 的设计模式, 平台下
Web 应用的 MDA 开发框架,并对视图模块、控制模块和事务模块在整个框架中
的配合和分工也进行了详细的设计和实现。并通过对一个社区服务系统实例的开
发,验证了本文所设计的开发框架的正确性和有效性。
关键词:模型驱动架构 MVC XML Petri网 Web应用
Abstract
Object Management Group has contributed MDA (Model-Driven Architecture), a
new concept of software system development, and defined a series of development
standards. The idea of MDA is that developer is only focusing on the design and
maintenance of modeling which would be automatically transformed as executable
platform-related code by model tansformation tools. Therefore, any changes on business
requirements and process can be built as various model, the final application system
will be generated automatically based on the models. The realization of ideal MDA will
bring out the software industry revolution.
Firstly the paper has introduced the development technologies of Web applications
and MDA core technologies, the technical standards, and its development model. The
paper presents MDR (Model-Driven Runtime) concept coordinated with EXML
(Executable eXtensible Markup Language), and analyses the difference between
traditional Web development method and MDA developing architecture as well. Based
on MDA’s idea and coordinated with MVC design pattern, the paper approachs to
MDA’s developing architecture which is applied to develop the Web application on .Net
platform. Three of ponents, ponent, and data connection
components technologies have been introduced and designed in details. The relationship,
coordi