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.

-- 
Stefano.


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to