Groovy vs Jactl: An Honest Comparison for Embedded JVM Scripting
Introduction
Java applications often choose to use an embedded scripting language for reasons including the following:
- to provide a powerful customisation mechanism for users
- to be able to change runtime behaviour without rebuilding/redeploying the application
- for providing business rules/logic
- per-tenant configuration for multi-tenant applications
- rapid prototyping for new features
When selecting a JVM scripting language there are many options to choose from including Jactl, Groovy, Jython (Python), JRuby (Ruby), JavaScript, and Lua. Out of these, Groovy is probably the most widely used scripting language for Java applications. This article compares Jactl and Groovy in order to show their strengths and weaknesses and when you might choose to use one over the other.
