In this talk the Grails project lead, Graeme Rocher, introduces a new way to develop web applications with the Spring framework. The Grails web application framework, based on the Groovy language with powerful Spring underpinnings, is lowering the barrier of entry to Java EE development with Spring.
Through clever use of DSLs and convention-over-configuration Grails dramatically reduces the complexity of web development while still allowing the flexibility of the underlying frameworks such as Spring MVC, Web Flow and Hibernate. This session will guide you through the basics of Grails, and preview its power features such as GORM, GSP and Web Flow.
Domain specific languages (DSL) are becoming increasingly prominent with the rise of dynamic languages like Groovy and Ruby. In this talk Graeme Rocher, Grails Project Lead, introduces two interesting use cases from the Grails framework: A Spring Configuration DSL and a Spring Web Flow DSL using Groovy.
In the first demonstration the session will show how using Groovy to script your application context can enable dynamic, runtime configuration that allows you application to adapt to its environment and the presence of different libraries.
Finally, Graeme will present a Spring Web Flow DSL that allows simplified construction of flow definitions that go beyond the constraints of the default XML syntax
Java professionals long the productivity gains a framework like Ruby on Rails provides, without having to leave the Java Platform. Grails provides this missing link by bringing the best aspects from Grails while embracing the Java platform and language itself. Grails is an open source Java/Groovy-based Rails-like framework that gives dynamic Java a boost; so, Java developers now have a viable Java-based solution instead of considering the non-Java-based Ruby on Rails, which can create more problems than it solves. Grails, sometimes called Groovy on Rails, is an emerging area of much interest with already anticipated available support from such key Java projects as Spring, Oracle, and more.
The Definitive Guide to Grails, Second Edition, will be the first and definitive book on Grails written by the founder and leads of Grails.