cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Rhino question
Date Fri, 13 Feb 2004 10:51:07 GMT
Leszek Gawron wrote:

>Hi all, 
>I started looking into Rhino documentation and it states that rhino contains
>"A JavaScript compiler to transform JavaScript source files into Java class
>I assume cocoon uses Rhino in interpreted way so my questions are:
>- is it at all useful to transform script into Java classes (performance)?
>- does it affect continuations? I mean are continuations supported in
>"compiled javascript" ?

Rhino has different modes to compile scripts. The one used to support 
continuations doesn't allow generating class files. However, the script 
is compiled into "rhino bytecodes" which are interpreted by a "Rhino VM".


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -

View raw message