嵌入式Java反射机制的设计与实现  被引量:3

Research and implementation of embedded Java reflection mechanism

在线阅读下载全文

作  者:丘志杰[1] 罗蕾[1] 

机构地区:[1]电子科技大学计算机科学与工程学院,成都610054

出  处:《计算机应用》2010年第2期398-401,422,共5页journal of Computer Applications

摘  要:Java反射是提高软件系统灵活性的重要技术,它是Java被视为动态语言的一个关键特性。虽然CLDC规范并不支持反射,但是在基于Java技术的嵌入式领域,反射仍有其应用需求。Sun公司根据CLDC规范发布了一套嵌入式Java技术的参考实现,其虚拟机被称作KVM。通过分析KVM的相关数据结构和机制,详细描述了反射机制的设计原理,并提出了一种在KVM中扩展反射功能的实现方案,经过测试证明该方案是可行的。Java reflection is an important technology, which can improve software system flexibility and is a key feature for Java to be regarded as dynamic language. Though CLDC specification does not support reflection, it is still required in embedded area based on Java technology. Sun Microsystems released a reference implementation of embedded Java technology according to CLDC specification. The authors described the reflection design principle in detail by analyzing related data structure and mechanism of KVM, as well as it presented a method to extend reflection for KVM. The method is proved feasible by test.

关 键 词:CLDC KVM JAVA J2ME 反射 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象