Internals of Java Class Loading
2009-06-10 13:29
477 查看
This article starts from the basics, such as the difference between code and data, and how they are related to form an instance or object. Then it looks into the mechanism of loading code into the JVM with the help of class loaders, and the main type of class loaders available in Java. The article then looks into the internals of class loaders, where we cover using the basic algorithm (or probing), followed by class loaders before it loads a class. The next section of the article uses code examples to demonstrate the necessity for developers to extend and develop their own class loaders. This is followed by explanation on writing your own class loaders and how to use them to make a generic task-execution engine that can be used to load the code supplied by any remote client, define it in the JVM, and instantiate and then execute it. The article concludes with references to J2EE-specific components where custom class loading schemas becomes the norm.
Click the link to read: http://www.onjava.com/pub/a/onjava/2005/01/26/classloading.html?page=1
Click the link to read: http://www.onjava.com/pub/a/onjava/2005/01/26/classloading.html?page=1
相关文章推荐
- Internals of Java Class Loading - O'Reilly Media
- Internals of Java Class Loading 2
- Internals of Java Class Loading 1
- Internals of Java Class Loading
- Understanding the Java Classloading Mechanism
- java编程思想-initialization and class loading
- Understanding the Java Classloading Mechanism
- Internals of Java Class Loading 3
- Tomcat启动时报ClassNotFoundException while loading persisted sessions: java.lang.ClassNotFoundException: com.xxx.pojo.Admin错误
- java classloading
- Java JVM 3: ClassLoading&Initialization
- while loading persisted sessions: java.io.InvalidClassException: com.bp.beans.User; local class inc
- Initialization and Class loading - Java
- Understanding Java class loading - part 2
- Java classes and class loading
- Internals of Java Class Loading
- java基础之Classloading and class objects
- Dynamic Class Loading in Java
- java之Class Loading Architecture --《Java_Security_2nd_Edition》
- 严重: IOException while loading persisted sessions: java.io.InvalidClassException: