Hi all,
Wanted to dive into the new embed API but honestly got a bit lost with
all
the recent changes … I’m hoping someone can have pity.
I’m trying to update JRuby support in GoGoEgo, a CMS based on OSGi and
Restlet. (Google Code Archive - Long-term storage for Google Code Project Hosting.).
We are using JRuby 1.3.1, and nominally JSR223. However, our use case
involves multiple sites and apps sharing a VM, so we maintain some
customized JSR223 engines that understand more localized context than
JVM-wide System.getProperties(). Our customized fork of the
scripting.dev.java.net 1.1.6 JRuby connector uses JavaEmbedUtils and
RubyInstanceConfig to set up paths and the JRuby home so that, for
instance,
each of several sites sharing the VM can each run several Rails
applications.
In checking out 1.4.0RC1 distro, I didn’t find any JSR223
ScriptEngineFactory or ScriptEngine implementations. JavaEmbedUtils and
RubyInstanceConfig seem to still be there, so my customized JSR223
Engine
still works, but based on the announcements of “Java 6 scripting out of
the
box” and the pointers to Red Bridge, I get the feeling I’m now looking
in
the wrong place and missing all the fun …
Can anybody steer me back to the plot?
TIA,
- Rob