Rickard Oberg writes:
 > Hi!
 > 
 > > > You can load classes from any http server by setting you classloader
 > > > to be a URLClassLoader with the URL containing your classes in the
 > > > classpath for the new class loader.  Something like:
 > > >
 > > > Thread current = Thread.currentThread();
 > > > ClassLoader cl = new URLClassLoader( "http://127.0.0.1:80/classes" );
 > > > current.setContextClassLoader( cl );
 > > >
 > > > Classes under this http directory must obey all the usual rules about
 > > > location etc.
 > >
 > > Could I use the Webserver service on Port 8083 to load interfaces/classes
 > > over the network ?
 > 
 > That is precisely (and only) what it is intended for, yes :-) Any jBoss
 > clients loading classes from the server will be using that.

So where is the document root for this HTTP server?  Is there one, or
does it just dish out classes the classloader has loaded?

Tom


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to