You are viewing a plain text version of this content. The canonical link for it is here.
Posted to women@apache.org by Shane Curcuru <as...@shanecurcuru.org> on 2005/11/01 17:43:15 UTC

Re: ClassLoader question

Googling "Java ClassLoader Security example" shows a few good articles 
on the general subject as well.  One decent one (a little involved) is:
http://www.javaworld.com/javaworld/javaqa/2003-06/01-qa-0606-load.html

If you want a real-life example of an environment that implements this 
kind of thing, go to eclipse.org.  The plugin architecture of Eclipse is 
much like you describe, with each set of plugins having their own 
classpaths (and ClassLoaders).  There's plenty of examples there for you 
to see - unfortunately, the documentation may be a bit complex to wade 
through...

Note: Be sure to check which Java version you're using - Classloader 
semantics change significantly with different JVM versions.

- Shane