Rhino Module Structure and Selection Guide
masterRhino is organized into several Java modules. Choose the modules based on your integration needs:
- rhino: The core runtime. Required for all users.
- rhino-tools: Includes the shell, debugger, and the
Globalobject (providesprint,load, etc.). Use this if you need a full development environment, but be aware it includes potentially 'dangerous' functions like file system access. - rhino-xml: Required only if you need the E4X XML standard implementation.
- rhino-engine: Implements the standard Java
ScriptEngineinterface. Recommended only for projects that need to switch between different script engines; otherwise, use the Rhino API directly for better flexibility. - rhino-all: An 'all-in-one' JAR containing
rhino-runtime,rhino-tools, andrhino-xml. Best for running viajava -jar. - rhino-kotlin: Enhanced support for Kotlin code.