Am Freitag, den 26.10.2007, 21:52 +0200 schrieb Tobias Bocanegra:
> all, and for sling to use the eclipse JSP compiler (which is way
> faster (and works with OSGI) than for example japser).

Well this is not quite correct :-) Sling uses Jasper with the Eclipse
Java Compiler.

When comparing performance, the comparison is between the Eclipse Java
Compiler, which has a clean and defined API and is used just any other
class, and the JDK compiler (generally from tools.jar) which is called
as an external process. This gives the performance gain of Eclipse: No
commandline building, no external Java startup etc. In addition, the
Eclipse Compiler may work with any class loader where as the external
Java Compiler requires a complex class path setup.

Regards
Felix

Reply via email to