期刊文献+

基于关系数据模型代码生成器的设计与实现 被引量:5

Design and implementation of code generator based on relational data moddel
下载PDF
导出
摘要 在以多层架构实现的数据库应用系统中,大量程序代码与其关系数据模型直接相关,采用一种以关系数据模型为输入的自动代码生成工具,可以大幅度地降低编程工作量,提高软件质量.现有基于模板的代码生成工具具有良好的设计框架,但其脚本语言由于与关系数据模型关联不紧密,导致代码模板编写和维护比较困难,难以快速应用.文中设计一种与关系数据模型紧密结合的迭代式代码脚本语言RDM CodeMark,保留基于模板的代码生成技术通用性的同时,简化代码模板编写难度.结果表明:基于RDM CodeMark语言的代码生成工具在针对J2EE平台和.Net平台的软件项目开发实践中能取得较为理想的效果. In the multi-tier architecture software development for database application system,a large number of program codes are directly related to their relational data models.Using a code generation tools for relational data models as input,can significantly reduce the programming work and improve software quality.The existed template-based code generation tool has a well designed framework,but its scripting language is not closely related to the relational data models,resulting in difficulty of the code templates to write、 maintain and rapid application.We designed the iterative source scripting language(RDM CodeMark) of a closely integrated with the relational data model,can reducing difficulty for the realization of code template and retaining generability for the template-based code-generation.The code generation tool based on the RDM CodeMark language has gained a more satisfactory results for the software development of the J2EE platform and.Net platform.
作者 冉春娟 黄华
出处 《湖北大学学报(自然科学版)》 CAS 北大核心 2010年第2期151-156,169,共7页 Journal of Hubei University:Natural Science
关键词 关系数据模型 代码生成 模板 数据库应用系统 J2EE .NET relational data models code generation template database application system J2EE .Net
  • 相关文献

参考文献5

二级参考文献27

共引文献24

同被引文献32

  • 1万军民.基于Java的代码生成器的设计与实现[J].计算机工程,2004,30(B12):122-124. 被引量:12
  • 2盛刚,韩莉莉.J2EE代码自动生成研究[J].计算机系统应用,2006,15(8):31-33. 被引量:4
  • 3朱有产,李玉凯,李自强.基于.NET反射技术的规约插件实现原理[J].继电器,2006,34(22):60-63. 被引量:5
  • 4张静,孔芳,杨季文.一个基于Java的代码生成工具的设计与实现[J].微电子学与计算机,2007,24(6):222-224. 被引量:6
  • 5Jorges S, Margaria T, Steffen B. Assuring property conformance of code generators via model checking [ J ]. Formal Aspects of Computing ,2011,23 ( 5 ) :589-606.
  • 6Schaefer J, Stynes J, Kroeger R. Model-based Performance In- strumentation of Distributed Applications [ DB/OL ]. 2008 [ 2011 - 11 ]. http://www, springerlink, corn/content/" b641x484174w4104/.
  • 7Rumpe B. Agile Modellierung mit UML: Codegenerierung, Tesffalle, Refactoring[ M ]. New York : Spfinger'Verlag ,2005,.
  • 8Solberg A,Oldevik J,Aagedal J φ. A Framework for QoS-A- ware Model Transformation, Using a Pattern-Based Approach [ DB/OL]. 2004 [ 2011 - 11 ]. http ://www. sprlngerlink, corn/ content/90yadv4i86 xwl pSw/.
  • 9Bork M, Geiger L, Schneider C, et al. Towards Roundtrip Engi- neering - A Template-Based Reverse Engineering Approach [ DB/OL]. 2008 [ 2011 - 11 ]. http ://www. springerlink, corn/ content/j061318735727695/.
  • 10Jorges S, Margaria T, Steffen B.Assuring property con- formance of code generators via model checking [J ]. Formal Aspects of Computing, 2011,23(5) : 589-606.

引证文献5

二级引证文献13

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部