I added the following comment but, ho hum, forgot to copy axis-dev.
Glyn ------- Additional Comments From Glyn Normington 2002-06-26 14:00 ------- Note that class unloading has some gotcha's. You can't reliably reload a class into the same classloader. If you use multiple classloaders which are siblings of each other in the classloader hierarchy, then the classes loaded in each classloader can't use the classes loaded in the other classloaders. Effectively, this means that you have to reload a whole classloader worth of classes to pick up a change to a single class. Also, if you're not careful, you might find it hard to get the previous classloader garbage collected as there will probably be many references to it from active objects. This could consume excessive memory. More background at: http://java.sun.com/docs/books/jls/unloading-rationale.html. Note also that class unloading is apparently still rather implementation dependent.