Templating in scripting languages is probably simpler. For eg in one of the posts here, it was mentioned that velocity was used for automating email generation through a template. This can be easily done using a scripting language. The only one I know of is python. I could get something simple working quickly in like 4/5 lines of code. But we need more use cases to justify the integration of scripting languages into development. But yeah, things like jython seamlessly integrate with
java so it s'd'nt be too much of a problem.