What is BSF?
The Bean Scripting Framework (or BSF) was originally developed by IBM and now published as open source as a project at the Apache Software Foundation. It provides a framework for using a number of scripting languages with Java. Rhino is one of the supported languages.
Using BSF with Rhino
Now that the Apache Jakarta Bean Scripting Framework (BSF), version 2.4.0, has been officially released, you can use Rhino easily with BSF. See http://commons.apache.org/proper/commons-bsf/index.html.