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.

-Nathan

On 10/7/06, Nikolay Chugunov <[EMAIL PROTECTED]> wrote:
>Nathan Beyer wrote:
>Stefano is correct, this doesn't require anything special in the VM.
>In fact, the basics of this already exist -- JavaServer Pages.

>Is compiling code a big problem?

Nathan,

JSP can't be used: because web server should be run, JSP has different
syntax and semantics, JSP has different versions, need to use java
compiler.

I want to develop this tool for sake of simplicity: the fewer steps to
execute source code, the more simplicity. Besides, dynamic compilation will
help beginners to faster learn Java: they may not learn javac tool.

Nikolay Chugunov
Intel Middleware Products Division



---------------------------------------------------------------------
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