You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Goetzmann Bertrand <bg...@sophia.symag.com> on 2006/01/20 09:25:33 UTC

Simple question concerning XSP and Java

Hi again (the last question for this day I hope),

I have a question about XSP used with Java langage ; I read in an
article that a XSP containg Java code was transformed in Java source and
then compiled to produce a .class file. Does this require that you must
to have access to the javac command on the server executing Cocoon ? Or
the Java code is compiled on the fly by the JRE ?

Thank again !


Bertrand Goetzmann.

Re: Simple question concerning XSP and Java

Posted by Geert Josten <Ge...@daidalos.nl>.
You can configure a java compiler to be used in the cocoon.xconf. It is not using JDK by default, 
because of a memory leak. I believe there are several alternatives listed of which the active one is 
provided as a jar in the web-inf/lib/

Cheers,
Geert

Goetzmann Bertrand wrote:

> Hi again (the last question for this day I hope),
> 
> I have a question about XSP used with Java langage ; I read in an 
> article that a XSP containg Java code was transformed in Java source and 
> then compiled to produce a .class file. Does this require that you must 
> to have access to the javac command on the server executing Cocoon ? Or 
> the Java code is compiled on the fly by the JRE ?
> 
> Thank again !
> 
> 
> Bertrand Goetzmann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org