avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Gaspar" <paulo.gas...@krankikom.de>
Subject RE: [Fwd: Re: org.apache.cocoon.components.language.programming.java package]
Date Tue, 08 Jan 2002 15:26:54 GMT
> We really need the ability to compile Java on the server side of 
> AvalonDB ....

I do not know if this could help but...

Pnuts is a Java-like scripting language that compiles into memory
without using a Java compiler:

It is pure Java and my performance tests hint that it really has to
be compiled as they announce - it is so damn fast!!!

It integrates VERY well with Java.

It is Open Source, Sun License:

You can distribute it:
  Sun grants Licensee a non-exclusive, royalty-free right to download, 
  install, compile, use, copy and distribute this Software, modify or 
  otherwise create derivative works from the Software (each, a 
  "Modification") and distribute any Modification to its customers 
  with a license agreement containing these terms. 

I see no problems in the license but I am far from being an expert.
Read it if you are interested. It is not so big.

Have fun,
Paulo Gaspar

> -----Original Message-----
> From: Paul Hammant [mailto:Paul_Hammant@yahoo.com]
> Sent: Tuesday, January 08, 2002 10:28 AM
> To: Avalon Developers List
> Subject: Re: [Fwd: Re:
> org.apache.cocoon.components.language.programming.java package]
> Peter,
> >>I don't know if it is replaced by another class/entry point, I just know
> >>that when I use JDK 1.4 I get a deprecation warnings when compiling the
> >>classes.
> >>
> >>Invoking compilers dynamically has always been a bit of a hack, because
> >>
> >>there is no direct interface to the compiler class--you have to 
> go through
> >>the command line.  Any time you rely on com.sun.* you run the risk of
> >>seeing the classes change due to restructuring.  There is no contract
> >>beyond what they expose to you (i.e. the command line).
> >>
> >>Also, the Jikes compiler works quite well....
> >>
> >
> >Another idea maybe refactoring the ant stuff re compiling.
> >
> Is this an option dude?  Could the Ant javac invoker be used as it (i.e. 
> instantiating org.apache.tools.ant.taskdefs.Javac and execute()ing it in 
> situ) ?  Could it be that your forthcoming myrmidon is worth waiting for?
> We really need the ability to compile Java on the server side of 
> AvalonDB ....
> Regards,
> - Paul H

To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>

View raw message