title: How can you use groovy inside Play! Framework, outside of templates?
body: <p><a href="http://www.playframework.org/documentation/1.0/faq#aIsplayaGroovyframeworka" rel="nofollow noreferrer">The FAQ</a> states</p>
  <blockquote>
  <p>Is play a Groovy framework?</p>
  <p>No. Even if we use Groovy as the base technology for the Play
  templating system, it’s totally transparent. Also, you can’t write
  directly any other part of the application (such as controllers,
  models or other utilities) in Groovy. If you’re looking for a Groovy
  based framework you should have a look at Grails.</p>
  </blockquote>
  <p>While I get that it's not supported out of the box, I do believe/hope the integration is possible ... I mean, Java is Turing Complete after all :)</p>
  <p>So, has anyone experimented in writing Groovy code, and calling that code from Play! Controllers? What's the best way to achieve that?</p>
  <p><strong>Bonus points</strong>: If the solution worked seamlessly with IntelliJ, that would be heaven.</p>