My project has several deployed artifacts as ear files. My understanding is that each of the ears will have it\'s own classloader. Is it possible to tell weblogic to use the same classloader for each
I\'m trying to implement a Singleton in Tomcat 6.24 on Linux with x86_64 OpenJDK 1.6. My application is just a bunch of JSPs and some static content and the JSPs make calls to my Java code. Currentl
Is there any way to remove the URL from a URLClassloader? If suppose w开发者_C百科e removed the URL from classloader what all possible problems can happen?
I deployed a Wicket-based app\'s .war file to Jetty 7.0.2. The problem is that Jetty copies the classpath to a temp dir, but only copies *.class, so *.html is not available for the classloader and I g
For debug reasons, and curiosity, I wish to list all classes loaded to a specific class loader. Seeing 开发者_如何学编程as most methods of a class loader are protected, what is the best way to accomp
When calling loadClass() on a ClassLoader, does the ClassLoader first check if the class has been loaded, or does it immediately delegate this check to its parent ClassLoader?
I have a big list of classes, a lot of them are not used any more. I know the entries class, I\'d like to know all its child classes. I know read clas开发者_如何转开发s binary would help, wondering
The answer to \'unloading classes in java\' says - \"The only way that a Class can be unlo开发者_Python百科aded is if the Classloader used is garbage collected.\"
How can I do this: class Foo { public static Foo get() throws Exception { ClassLoader cl = new URLClassLoader(new URL[]{\"foo.jar\"}, nul开发者_如何学Pythonl); // Foo.class is in foo.jar
I am using a custom class loader which extends URLClassLoader. I load some classes into my custom class loader and perform some task. Once the task is completed i w开发者_如何学JAVAant to dispose of t