期刊文献+

一种面向业务过程的软件代码生成方法

A Code Generation Method for Business Process
在线阅读 下载PDF
导出
摘要 为了提高业务流程软件的开发效率,提出了一种面向业务过程的软件代码生成方法。通过使用基于模板的代码生成引擎Free Marker和建立描述业务过程的工作流模型,设计了一种代码生成方法。方法按照MVC的软件体系结构设计模板,对建立的工作流模型和数据模型进行转换,生成模型层Java代码和视图层extjs代码,并结合流程生成相应的控制层代码,完成了自动生成面向业务过程的模型层、视图层和控制层代码的功能。应用实例的实现验证了该方法的可行性和有效性。 In order to improve the development efficiency of business process software, a code generation method for business process, using the "template engine" FreeMarker to generate text output based on templates and the establishing the workflow model of business process, is proposed in this paper. According to the software architecture of MVC, the templates is designed to transform the workflow model and data model for generating Java code of model layer, extjs code of view layer and control layer with process. The function of auto codes generation in model layer, view layer and control are completed for business process. The application example proves that the method is feasible and effective.
出处 《微处理机》 2015年第5期35-42,共8页 Microprocessors
关键词 工作流 代码生成 模板引擎FreeMarker 业务过程 模型驱动架构 模型 Work flow Code Generation FreeMarker Business process MDA Model
  • 相关文献

参考文献9

二级参考文献24

  • 1徐世莲.基于软件体系结构的WEB-MIS应用平台设计[J].计算机科学,2006,33(9):105-106. 被引量:4
  • 2Leinecker R C著.COM+技术大全.高智勇,等译.北京:机械工业出版社,2001.16~30
  • 3马树奇.J2EE编程指南[M].北京:电子工业出版社,2002.
  • 4Ambler S W.The Design of a Robust Persistence Layer for Relational Databases[EB/OL].2005.http://www.am-bysoft.com/downloads/peeristenceLayer.
  • 5夏晰,曹晓钢,唐勇.深入浅出Hibernate[M].北京:电子工业出版社,2005:468-469.
  • 6Ambler S W.Mapping objects to relational databases What you need to know and why[EB/QL].2000.http://www -128.ibm.com/developerworks/webservices/library /ws -mapping-to-rdb/.
  • 7Ambler S W.Mapping Objects to Relational Databases:O/R Mapping In Detail[EB/QL].2000.http://www.agiledata.org/essays/mappingObjccts.html.
  • 8Anon.中小企业信息化培训手册[EB/OL].http://www.scsine. gov. cn/htm/itprj/pxzl/2006-04-20-31701.htm, 2006-04- 20/2007-01-10.
  • 9Anon.企业信息化管理迫在眉睫[EB/OL].http://cio.ctocio. com. en/pinglun/152/6622652.shtml, 2006-10-14/2007-01-10.
  • 10熊节.设计模式精解[M].北京:清华大学出版社,2004.

共引文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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