if i gather right, the following is true of Custom class loading:

if u use a class loader "Cloader" to load a class, say "load.loadtest" then, this is not possible:

Class c=Cloader.loadClass("load.loadtest");
load.loadtest test=(load.loadtest)c.newInstance();

Instead we must use a superclass/interface to cast the result.
IN application servers which use dynamic class reloading extensively,how do they circumvent the above process? Or don't they? DO they use some interface to cast back the result??
For instance since we are never getting a handle to our servlet class directly, guess, the app.server casts the above result into some interface?
or does it use reflection to invoke a method???