title: What are use cases for Groovy Scripting besides Java / Groovy classes?
body: <p>I am playing around with Java, Groovy and Scala at the moment. Groovy enables to write scripts besides classes, which is often stated as a big advantage of Groovy because you can write applications and scripting with the same language.</p>
  
  <p>Can you please tell me some use cases where it does make sense to use Groovy scripts?</p>
  
  <p>For me, a script is something like unix shell scripts which copy files or stuff like this. Besides, I use JACL and Jython scripts for WebSphere Application Server deployments.</p>
  
  <p>My question: When should I use Groovy scripts? Should I use them for copying files instead of unix shell scripts (thus, I have classes and scripts in the same language for easier maintenance) or when else should I use Groovy scripts?</p>
  
  <p>Thanks.</p>
  
  <p>Best regards, 
  Kai</p>