3 Replies Latest reply on Sep 10, 2006 8:09 PM by strayalien

    rhino script rather than beanshell?

    strayalien

      All,

      We are settling on Rhino as a scripting engine for our host side scripting. We're also looking at JBPM as the host process management engine.

      Can beanshell in JBPM be replaced with Rhino?

      Many thanks,

      Greg.

        • 1. Re: rhino script rather than beanshell?
          tom.baeyens

          have a look at the Scipt class. it should not be too hard to write something similar for delegating to rihno. then you only need to update the XML parsing and the hibernate mappings to accomodate for your new class.

          • 2. Re: rhino script rather than beanshell?
            stibrian

            in the "for what's it's worth" category we were using Groovy for a bunch of scripting work around jBPM - using beanshell only for decision expressions.

            we actually switched to beanshell for everything just to keep process devs from having to make the mental context switch... Tom's right though - should be easy enough to do, and with a bit of creativity you ought to be able to host a number of different scripts in the same process.

            • 3. Re: rhino script rather than beanshell?
              strayalien

              Cool. Thanks. Does JSR 223 have any impact here? The java 6 JRE has interfaces for plugging in script engines.

              Does one imagine that JBPM will use JSR 223 rather than just beanshell?