"What are all the right use-case to use scripting engine?" This is a pretty vague question. There are many use cases. Here are just a few I can think of right away:
- Plugin/extension system
- IDE
- Programming tutorial with live demos
I am assuming you are referring to JSR 223 in particular. If so, you should look at scripting.dev.java.net