计算机与现代化

• 软件工程 • 上一篇    下一篇

基于Maven的J2EE后台管理系统代码生成器

  

  1.  
    (天津大学管理与经济学部,天津 300072)
  • 收稿日期:2013-09-16 出版日期:2014-02-14 发布日期:2014-02-14
  • 作者简介:魏颖(1988-),女,辽宁昌图人,天津大学管理与经济学部硕士研究生,研究方向:Java Web开发。

 
Backstage Management System Code Generator Based on J2EE and Maven

  1.  
    (School of Management, Tianjin University, Tianjin 300072, China)
  • Received:2013-09-16 Online:2014-02-14 Published:2014-02-14

摘要: 后台管理系统功能和模式相对固定,为了降低软件开发人员的重复工作量,缩短项目的开发周期,应用基于模板技术的代码生成原理,设计一款基于Maven的后台管理系统代码生成器,完成从业务模型到后台管理系统的代码生成;从业务文件定义、业务文件解析到模板合成阐述本代码生成器的内部结构。

关键词: 代码生成器, J2EE, Maven, FreeMarker

Abstract: The functions and mode of backstage management system are comparatively changeless. By applying code generation principle which is based on template technology, this paper designs a Maven-based code generator for backstage management system, fulfilling code generation from business model to backstage management system, in order to reduce repeated workload of software developers and project development cycle. From business document definition and analysis, to the template generation, the paper covers the code generator’s internal structure.

Key words: code generator, J2EE, Maven, FreeMarker

中图分类号: