论文:2014,Vol:32,Issue(1):49-54
引用本文:
张森, 邓磊, 吴健, 朱明洁. 一种基于MDA的分布式对象模型框架代码生成方法[J]. 西北工业大学
Zhang Sen, Deng Lei, Wu Jian, Zhu Mingjie. Method of MDA Based Code Generation of Distributed Object Model Framework[J]. Northwestern polytechnical university

一种基于MDA的分布式对象模型框架代码生成方法
张森1, 邓磊1, 吴健1, 朱明洁2
1. 西北工业大学 计算机学院, 陕西 西安 710072;
2. 中航工业西安飞机设计研究所, 陕西 西安 710089
摘要:
基于模板技术的分布式对象模型框架代码生成系统提高了二次开发人员的工作效率。但是,代码生成规则是在程序中硬编码实现的,耦合度较高。在此技术架构基础之上,提出了一种基于MDA((model driven architecture)的分布式对象模型框架代码生成方法。该方法以模型为基本输入,通过灵活的转换规则配置,生成具体平台的模型,并依次自动生成框架代码,从而有效提高了分布式对象模型框架代码生成系统的扩展性和可维护性。
关键词:    MDA    ATL    模型转换    模板    代码生成   
Method of MDA Based Code Generation of Distributed Object Model Framework
Zhang Sen1, Deng Lei1, Wu Jian1, Zhu Mingjie2
1. Department of Computer Science and Engineering, Northwestern Polytechnical University, Xi'an 710072, China;
2. AVIC The First Aircraft Institute, Xi'an 710089, China
Abstract:
Distributed object model framework code generation system based on template technique architecture improves the secondary development developer's working efficiency. But,the code generation rules are hard-coded in the program and the system coupling is high. we propose an MDA(model driven architecture) based method of code generation of distributed object model framework on the basis of this system architecture. The method uses model as the basic input,generates a platform-specific model with flexible configuration of transformation rules,automatically generates framework code,and effectively improves the scalability and maintainability of distributed object model framework code generation system.
Key words:    automatic programming    computer architecture    efficiency    maintainability    mathematical transformations    scalability    template matching    XML   
收稿日期: 2013-04-23     修回日期:
DOI:
通讯作者:     Email:
作者简介: 张森(1980-),西北工业大学硕士研究生,主要从事软件工程的研究。
相关功能
PDF(660KB) Free
打印本文
把本文推荐给朋友
作者相关文章
张森  在本刊中的所有文章
邓磊  在本刊中的所有文章
吴健  在本刊中的所有文章
朱明洁  在本刊中的所有文章

参考文献:
[1] 肖 寒. J2EE 平台下代码自动生成技术研究[J]. 电脑知识与技术, 2009, 5(20): 5421-5422, 5434 Xiao Han. Study of Code Generation Technology Based on J2EE Platform[J]. Computer Knowledge and Technology, 2009, 5 (20): 5421-5422, 5434 (in Chinese)
[2] Anneke Kleppe, Jos Warmer, Wim Bast. 解析 MDA[M]. 鲍志云, 译. 北京: 人民邮电出版社, 2004 Anneke Kleppe, Jos Warmer, Wim Bast. MDA Analysis[M]. Bao Zhiyun, Translator. Beijing: Posts& Telecom Press, 2004 (in Chinese)
[3] Michael Kay. XSLT 程序员参考手册[M]. 朱冬东, 吕俊辉, 李玫, 译. 北京: 机械工业出社, 2002 Michael Kay. XSLT Programmer' s Reference[M]. Zhu Dongdong, Lü Junhui, Li Mei, Translator. Beijing: China Machine Press, 2002 (in Chinese)
[4] 曾一, 许林, 黄兴砚, 王翠钦. 一种结合 MDA 的高阶模型转换方法[J]. 计算机应用研究, 2012, 29(12): 4584-4588 Zeng Yi, Xu Lin, Huang Xingyan, Wang Cuiqin. Method of Higher-Order Model Transformation Combined with MDA[J]. Application Research of Computers, 2012, 29(12): 4584-4588 (in Chinese)
[5] 赵远东, 王云华. 基于 J2EE 平台的 MDA 模型驱动架构技术[J]. 电脑知识与技术, 2010, 6(25): 7017-7018, 7043 Zhao Yuandong, Wang Yunhua. Model Driven Architecture Based on J2EE System[J]. Computer Knowledge and Technology,2010, 6(25): 7017-7018, 7043 (in Chinese)
[6] 於良伟, 袁泉, 霍剑青, 王晓蒲. 基于 XML 和 XSLT 的模型驱动构架[J]. 计算机工程, 2010, 36(6): 49-51 Yu Liangwei, Yuan Quan, Huo Jianqing, Wang Xiaopu. Model Driven Architecture Based on XML and XSLT[J]. Computer Engineering, 2010, 36(6): 49-51 (in Chinese)
[7] 杨美荣, 史建锋, 李明星. 基于 MDA 的代码生成器设计与实现[J]. 计算机工程, 2009, 35(12): 47-49, 53 Yang Meirong, Shi Jianfeng, Li Mingxing. Design and Implementation of Code Generator Based on MDA[J]. Computer Engineering, 2009, 35(12): 47-49, 53 (in Chinese)
[8] Mhamed Rahmouni, Samir Mbarki. MDA-Based ATL Transformation to Generate MVC 2 Web Models[J]. International Journal of Computer Science & Information Technology, 2011, 3(4): 57-70
相关文献:
1.邓磊, 吴健, 张涛, 张森.一种多目标平台分布式对象模型编译器设计方法[J]. 西北工业大学, 2014,32(6): 994-997