摘要
为了使程序员在软件开发过程中能够加快开发的速度,减少人为的错误,提高整个项目开发效率,提出了基于敏捷方式的Java代码生成方法。该方法结合XSLT技术与模板引擎技术,通过创建装配容器,读取模板文件,灵活地自动生成代码,实现代码的复用。经过测试,该方法提高了生成代码的效率,可较大地提高代码的复用度并有效地降低代码的出错率,这对实现敏捷化管理具有较大的实际意义,可运用于大量的企业应用开发。
In order to improve the speed of the software development, the error caused is reduced by men and the efficiency of the project development is improved, agile method for the Java code generation is brought. The agile method combine the XSLT and template engine technology. Through the creation ofthe container assembly, the method read the template file and generate the code automatically and flexibility, which realize the reuse of code. After test, the method improve the efficiency of the generated code and the moment of the complex code, reduce the code error rate. So, there are greater practical significances for the realization of agile management. The agile method can be applied into a large number of enterprise application development.
出处
《计算机工程与设计》
CSCD
北大核心
2009年第12期3018-3021,共4页
Computer Engineering and Design