Java动态类加载机制及其应用  被引量:18

Java class loading mechanism and its application

在线阅读下载全文

作  者:张敦华[1] 刘建[1] 

机构地区:[1]武汉大学计算机学院,湖北武汉430072

出  处:《计算机工程与设计》2004年第3期432-435,441,共5页Computer Engineering and Design

摘  要:Java动态类加载机制是Java虚拟机(JVM)的一个重要特征。它实现了在程序执行的过程中动态地加载所需要的类文件,并且这种动态行为是可以人为控制的。这使得Java语言平台具有在运行期间安装软件组件的能力。通过对Java类加载器的原码进行分析,阐述了Java动态类加载机制的原理和过程,并通过一个客户端服务器(C/S)模式下动态地更新客户端软件功能的例子,说明了Java动态类加载机制的实际应用。The dynamic class loading mechanism is an important feature of Java virtual machine. The class loading mechanism can be used to load the class file dynamically when the program is running. Furthermore, the process can be manipulated by users, so it makes Java language capable of installing the software at runtime. The principle about Java class loading mechanism was narrated by analyzing the JDK's class loader source code, and an example was given that the program could upgrade the client software automatically in client/server model.

关 键 词:JAVA语言 JAVA虚拟机 类加载器 溶解 反射 客户端服务器模式 安全检查 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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