language for the JVM – Complies down to bytecode – But also supports static typing • Java on “steroids” – Builds upon the strengths of Java, but… – With powerful features borrowed from Smalltalk/Python/Ruby – Makes modern programming features available to Java developers.
using the def keyword • Everything is public unless defined otherwise • Automatic getters & setters • Semicolons at EOL are optional • Return keyword optional
• Dependency Injection using Spring Container • Transactional service layer based on Spring’s transaction abstraction. • View layer with Groovy Server Pages(GSP) • Embedded Tomcat servlet container for on the fly reloading.
com.zix.HelloWorld grails generate-all com.zix.HelloWorld grails run-app grails test-app grails war If desired, custom scripts with commands can be added to the project.