harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [general] Dynamic class loading
Date Sat, 07 Oct 2006 21:22:54 GMT
Nathan Beyer wrote:
> I wasn't literally suggesting using JSPs, but rather the concept
> behind the technology -- dynamically loading a script with embedded
> Java, generating a complete Java source, compiling it and then loading
> the bytecodes. You can probably take the JSP engine from Tomcat and
> hack it into a more generalized launcher.


Take this:


and overload

 Class loadClass(String name, boolean resolve)

merging it with something some code taken from


ship with the eclipse JDT compiler, stir up and you're done.


Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message