Dr. Dobb's Journal December 1997
Class c = RMIClassLoader.loadClass(new URL("http://somehost/somedir/"), "somepackage.MyMainClass");
Runnable myObject = c.newInstance(); // the class must have
// an empty constructor
c.run(); // this can do anything.
// it implements your application