计算机应用 ›› 2014, Vol. 34 ›› Issue (4): 1161-1164.DOI: 10.11772/j.issn.1001-9081.2014.04.1161

• 计算机软件技术 • 上一篇    下一篇

UML模型到N层Web模型的模型驱动转换

苏红军,闫云山,尤振华   

  1. 宁夏科学技术发展战略和信息研究所 网络技术科,宁夏 银川 750001
  • 收稿日期:2013-10-21 修回日期:2014-01-13 出版日期:2014-04-01 发布日期:2014-04-29
  • 通讯作者: 闫云山
  • 作者简介:苏红军(1977-),男,陕西渭南人,助理研究员,主要研究方向:模型驱动构架、QVT、软件构架、数据库设计;
    闫云山(1977-),男,宁夏银川人,工程师,主要研究方向:软件工程、人机交互;
    尤振华(1978-),男,宁夏银川人,工程师,主要研究方向:信息安全、软件工程与自动化。

Model driven transformation from UML model to the N-layer Web model

SU Hongjun,YAN Yunshan,YOU Zhenhua   

  1. Department of Network Engineering, Ningxia Institute of Science and Technology for Development and Information, Yinchuan Ningxia 750001, China
  • Received:2013-10-21 Revised:2014-01-13 Online:2014-04-01 Published:2014-04-29
  • Contact: YAN Yunshan

摘要:

模型驱动架构(MDA)是由对象管理组织(OMG)提出的应用模型技术进行软件开发的方法和标准体系,其核心理念是平台无关模型建模和平台特定模型转换。通过编程实现基于元对象机制2.0(MOF2.0)查询/视图/转换(QVT)标准定义开发的框架,该框架可以将元模型转换为特定N层应用程序类,实现主要程序功能,从而大大提高开发效率。验证了通过编程实现模型驱动转换的灵活性和功能实现的多样性,包括XML文件对模型规范的描述以及生成代码的完整性。

Abstract:

Model Driven Architecture (MDA) refers to the method and standard system for the application of model technology in software development proposed by Object Management Group (OMG), the core idea of which includes the modeling of platform-independent model and the transformation of platform-specific model. The framework was realized by programming based on Meta Object Facility 2.0 (MOF2.0) Query/View/Transformation (QVT) standard definition, and it could achieve transformation of meta model to specific N-layer application class and realize main functions of the program, thus greatly improving the development efficiency. The flexibility of model-driven transformation and diversity of function realization achieved by programming were verified, including the description of model specification by XML documents and the integrity of code generation

中图分类号: