期刊文献+

使用代码动态生成技术提升Java程序灵活性 被引量:2

Using code dynamic generation to enhance the flexibility of Java programs
下载PDF
导出
摘要 代码动态生成是指在程序运行时根据实际情况即时生成需要的类代码。它可以提高程序的灵活性,已被用于很多应用架构、脚本语言的实现中。为帮助学生掌握代码动态生成技术,探讨了相关技术的实现方法、工具的应用和教学思路。 Code dynamic generation is defined as class code generated instantly according to the actual needs when the program is running. It enhances the flexibility of the program, so it has been used in many framework and scripting language implementations. Students who are familiar with Java, JVM mechanism and Java class file structure will master this technique easily. It is beneficial for them to learn new concepts and new programming models based on this technology, which help them build more efficient, flexible and innovative application projects. The implementation methods, tools and teaching considerations are discussed.
作者 严忠林
出处 《计算机时代》 2013年第5期7-9,12,共4页 Computer Era
关键词 代码动态生成 JAVA虚拟机 Java类文件 BYTECODE ASM code dynamic generation JVM Java class files Bytecode ASM
  • 相关文献

参考文献5

  • 1Tim Lindholm,Frank Yellin. The Java Virtual Machine Specification Second Edition[M].Addison-Wesley Professional,1999.4.
  • 2Oracle co.Java Platform. Standard Edition 7 API Specification[EB/OL].http://docs.oracle.com/javase/7/docs/api/,.
  • 3Eric Bruneton. ASM 4.0 A Java bytecode engineering library[EB/OL].http://download.forge.objectweb.org/asm/asm4-guide.pdf,.
  • 4周志明.深入理解Java虚拟机[M]北京:机械工业出版社,2011.
  • 5Eugene Kuleshov. Using the ASM framework to implement common Java bytecode transformation patterns[J].http:,.

同被引文献20

  • 1万军民.基于Java的代码生成器的设计与实现[J].计算机工程,2004,30(B12):122-124. 被引量:12
  • 2张静,孔芳,杨季文.一个基于Java的代码生成工具的设计与实现[J].微电子学与计算机,2007,24(6):222-224. 被引量:6
  • 3周志明.深入理解Java虚拟机[M].北京:机械工业出版社,2012.
  • 4郝利生.学校图书管理系统用户界面分析与设计[D].北京:北京邮电大学,2010.
  • 5王峰.代码自动生成技术[DB/OL].http://tech.itl68.com/oldartiele/2007-05-30/200705301011640-2.shtml,2007-05-30.
  • 6陈震秋.界面(FORM)自动生成工具[DB/OL].http://WWW.west263.com/info/html/chengxushejifdelphi/20080411/65911.html,2008-04-09.
  • 7David Heinemeier Hansson. Ruby on Rails Guides [ EB/ OL]. [2010 - 10 - 10]. http://guides, mbyonmils, org/.
  • 8FreeMarker Project Team. What is FreeMarker [ EB/OL ]. [2010 - 10 - 10 ]. http ://freemarker. sourceforge, net/in- dex. html.
  • 9Joaquin Miller and Jishnu Mukerji. MDA Guide Version 1. 0,1, Document number omg [ EB/OL ]. [ 2011 - 06 - 01 ]. http ://www. omg. org/docs/omg/11 - 06 - 01. pdf.
  • 10周礼,郑秋华.基于领域建模的代码自动生成方法[J].科技通报,2011,27(2):199-202. 被引量:1

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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