Barracuda: understanding classloading in Java2 (I highly recommend reading this!!!)
Jacob Kjome <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general,gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
With all the classloading issues we've had in Barracuda, XMLC, and Xerces and after having solved a number of these issues, I still didn't fully understand how the solutions I was using were actually solving my classloading problems. I found a whitepaper that explains these issues and I now have a pretty good idea of most of the issues involved. It explains why My current patch to Xerces DOMParser.java (posted on the XMLC list) fixed issues in the XMLC-2.2alpha demo app with Xerces not seeing XMLC when Xerces existed in a parent classloader (such as shared/lib in Tomcat). I highly recommend reading this paper. It doesn't take that long and isn't obtuse like some whitepapers I've seen. In addition, it contains working examples described in the paper. http://www.javageeks.com/Papers/ClassForName/index.html http://www.javageeks.com/Papers/ClassForName/ClassForName.pdf http://www.javageeks.com/Papers/ClassForName/ClassForName.zip See other interesting papers here as well... http://www.javageeks.com/Papers/index.html Jake _______________________________________________ Barracuda mailing list [email protected] http://www.enhydra.org/mailman/listinfo.cgi/barracuda FAQ - http://www.jguru.com/faq/Barracuda