Some one told me that Craig McCallahan mentioned once that he thinks he finally got tomcat 5'sh classloader scheme right. If Craig thinks he got something right you I'm going to start looking at the code to learn why. As soon as I get some time I'm going to take a look at it.
You have to immagine the things the ClassLoader must deal with in a Servlet container with JSP compilation and what not - it must be involved. Also look at the ant classloader although not a framework its a good example of how to build one. I learned a thing or two from it myself. > > From: Niclas Hedhman <[EMAIL PROTECTED]> > Date: 2003/11/14 Fri AM 06:10:07 EST > To: "Avalon framework users" <[EMAIL PROTECTED]> > Subject: Re: Question about article "Developing With Apache Avalon" > > On Friday 14 November 2003 17:14, Horaci Macias wrote: > > Just one last wish ;D > > Is there any good article/document/resource about classloading > > architectures? > > Nothing I know of. I have learnt "The Hard Way"(tm). > > Remember; > 1. To be able to unload classes from memory, you need to drop the reference to > the classloader that loaded them. > > 2. A class is only visible (accessible) to other classes if it is loaded with > the SAME classloader, OR one of classloader's ancestor classloaders. > > I then take post-it notes, writes a classname on each, and list which classes > it needs to access (reference), and then try to push them "downwards" in the > hierarchy. > I think it is difficult to provide advice (free of charge ;o) ) in this > matter. > > Niclas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
