摘要
根据J2EE体系结构特点,提出基于模板技术的代码自动生成模型,实现由业务模型描述文件到业务组件的自动生成。从分析J2EE结构入手,确定生成的目标代码,讨论基于模板技术的代码生成器原理和模型,设计模板文件,定义业务模型描述文件的规格,实现了代码生成器。介绍了应用代码生成器的开发模式。
With the characteristic of J2EE architecture, the paper brings forward a model of automated code generation based on template technology, and achieving the automated generation from business model s descriptive document to business component. In this paper, starting with analyzing the J2EE architecture, ascertaining the target code generated, discussing the principle and model of code generator based on template technology, then designing the template, making a definition on the specification of business mo...
出处
《微型机与应用》
北大核心
2007年第S1期55-58,共4页
Microcomputer & Its Applications
基金
北京自然科学基金资助项目(4052010)
关键词
代码生成器
代码自动生成
J2EE
模板技术
Web应用快速开发
code generator
automated code Generation
J2EE
template technology
fast Web-based applilcation development