Web / Apache OFBiz Interview questions
What is the difference between writing a service in Mini-language versus Groovy?
Both compile down to the same Service Engine contract - identical parameter validation, identical transaction handling - so the choice is really about implementation language, not the service's external behavior.
| Mini-language | Groovy |
| XML-based, declarative-looking tags | Real scripting language, closer to Java |
| Limited expressiveness for complex logic | Full language features: loops, closures, exceptions |
| Easier for simple CRUD-style services | Easier to debug and unit test |
In current OFBiz development, Groovy is generally preferred for anything beyond trivial CRUD, because standard IDE tooling, debuggers, and stack traces work far better against it than against XML-tag-based Mini-language, even though both remain first-class, fully supported engine types.
More Related questions...