One of the most powerful uses of scripting languages is in "application automation", that is, the idea of automating a long sequence of steps such as: "select paragraph at cursor, indent 3" right, ...
Like many developers, you want to incorporate new Java technologies into your projects. But currently your code is written in C or in another legacy language, and rewriting your entire application in ...