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
files".
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
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
