Hi,
I've never tried with the latest Rhino (1.7R2), from Mozilla ... and could
be an interesting test.
To embed another engine it must be compliant with JSR-223, and I don't know
if CommonJS is compliant (I wasn't aware of it), and this could be another
interesting test.

On Scripting subprojects, as you I think that most aren't actively
maintained, but because in many of them the scripting support classes are
already included in standard projects.

For example Groovy has in the standard distribution all the classes needed
to be JSR-223 compliant, so maybe even others ... take a look here:

http://groovy.codehaus.org/JSR+223+Scripting+with+Groovy
http://groovy.codehaus.org/api/groovy/util/GroovyScriptEngine.html

If you open the jar of groovy (for example the latest groovy-all-1.7.5.jar,
under the embeddable folder ... and maybe even the "normal" not embeddable
jar) you can find related classes inside.

and the same should be for JRuby, but again I haven't tried myself (maybe
others) ...


Some info on Scripting and Java 6 or later:
http://tim.oreilly.com/lpt/a/6560
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/


If you have more question, or if you have some result, write here ...

Bye,
Sandro

-- 
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/default-Script-Engines-tp1947226p1947688.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to