Ingo Bruell writes:
 > Hi Charles,
 > 
 > you wrote that it is possible to load classes (interfcaes) dynamicly from
 > jboss to clients. Is there any documentation about this, or can you tell me
 > how it works ?

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.

Regards
Tom
-- 
Tom Cook - Software Operations

"We rarely find that people have good sense unless they agree
 with us."
                - Francois, Duc de la Rochefoucauld

LISAsoft Pty Ltd - www.lisa.com.au

--------------------------------------------------
38 Greenhill Rd.          Level 3, 228 Pitt Street
Wayville, SA, 5034        Sydney, NSW, 2000

Phone:   +61 8 8272 1555  Phone:   +61 2 9283 0877
Fax:     +61 8 8271 1199  Fax:     +61 2 9283 0866
--------------------------------------------------


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

Reply via email to