Dynamic loading of Java classes at runtime provides tremendous flexibility in the development of enterprise systems. It provides for the basis of “application servers”, and allows even simpler, lighter-weight systems to accomplish some of the same ends. WithinJava, dynamic loading is typically achieved by calling the forName method on the class java.lang.Class; however, when Class.forName is naïvely called from within an Extension,strange errors can occur. This paper describes why those errors o阅读全文>
发表于 @ 2004年08月12日 12:45:00|评论(loading...)|收藏
Dynamic loading of Java classes at runtime provides tremendous flexibility in the development of enterprise systems. It provides for the basis of “application servers”, and allows even simpler, lighter-weight systems to accomplish some of the same ends. WithinJava, dynamic loading is typically achieved by calling the forName method on the class java.lang.Class; however, when Class.forName is naïvely called from within an Extension,strange errors can occur. This paper describes why those errors o阅读全文>
发表于 @ 2004年08月12日 12:43:00|评论(loading...)|收藏