harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [general] Dynamic class loading
Date Sun, 08 Oct 2006 13:44:59 GMT
Yep, and as Nathan said, there are many examples of scripting languages
based on Java that work on this principle.

Is this something we want to adopt as a practice in Harmony for apps or
development process?  No, I think not.


Stefano Mazzocchi wrote:
> 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.
> Right.
> Take this:
>  http://simile.mit.edu/repository/tools/loader/trunk/src/Loader.java
> and overload
>  Class loadClass(String name, boolean resolve)
> merging it with something some code taken from
>  http://tinyurl.com/r4rmf
> ship with the eclipse JDT compiler, stir up and you're done.


Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

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