节点文献
基于MDA的代码生成器设计与实现
Design and Implementation of Code Generator Based on MDA
【摘要】 针对如何将业务模型转换为程序代码的问题,提出一种代码生成器设计方案,用以实现模型驱动架构中代码的自动生成。介绍采用XML描述的面向业务对象的平台无关模型,在此基础上设计实现代码生成器,完成从平台无关模型到代码的自动转换,以支持在业务模型变化后系统行为的快速变化和代码的自动生成,通过实例演示该代码生成器的应用。
【Abstract】 Aiming at the problem that how to transform business model to code,this paper presents a design of code generator to implement code generated automatically in Model-Driven Architecture(MDA).It introduces a business object-oriented Platform Independent Model(PIM) described with XML,designs and implements a code generator which realizes the automatic transformation from PIM to code to support rapid changes of system behaviors and automatic code generation after business model changing.It illustrates the application of the code generator.
【关键词】 模型驱动架构;
平台无关模型;
代码生成器;
【Key words】 Model-Driven Architecture(MDA); Platform Independent Model(PIM); code generator;
【Key words】 Model-Driven Architecture(MDA); Platform Independent Model(PIM); code generator;
【基金】 国家自然科学基金资助项目(60573086)
- 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2009年12期
- 【分类号】TP311.52
- 【被引频次】28
- 【下载频次】359