Day 2 at SpringOne 2GX 2014

10 / Sep / 2014 by Uday Pratap Singh 0 comments

Day 2 kicked off and we had very really cool sessions planned around Groovy, Grails and Spring Boot. It was quite an experience listening to all the new features and changes coming over the horizon of Groovy and Grails. A quick excerpt of the day follows:

# Groovy in 2014 and beyond : Guillaume Laforge

  • Groovy trait took over the discussion
  • Explaination on new AST like TailRecursive, Sortable, Basescript
  • No support for Java 8 lamda and method referencing, as we already have closures
  • Reimplementation of JSON
  • Markup template
  • Documentation overhauling
  • Android with Groovy
  • Groovy 3.0

# Grails 3.0 Preview : Graeme Rocher

  • More improvement on GORM specially with MongoDb and hibernate 4
  • Part of Spring boot
  • Fully Gradle build system and runnable jar
  • Removed so much unused bloated code
  • Using trait and no AST
  • Grails 3.0 Demo

# Core Groovy : Guillaume Laforge

  • Discussion on new Java 8 features and which one going to be supported in Groovy
  • New java 8 annotations like NotNull, Email, Critical etc not yet supported in Groovy
  • Java 8 interfaces with body and lamda expressions
  • Fully invokeDynamic
  • Groovy goes beyond what Java 8 offers

# Rethinking API design with traits : Cédric Champeau

  • Deprecated Mixin annotation in Groovy 2.3
  • Discussion on Delegation vs Inheritence
  • Talked about traits and its use cases with so many demos
  • Explained the behavior of traits in different situations
  • Runtime Coercion in traits
  • Most AST doesn’t work with traits

# Making Spring boot even Groovier : Graeme Rocher

  • Demo on how Spring boot works
  • Gradle build system to run the application
  • Integration of Groovy, GSP, Groovy template and GORM
  • Persistent classes and moving from one database to another
  • Have most of the Grails goodies

It was a day full of knowledge flowing in from all directions and we could clearly see the future of Groovy and Grails. One particular presentation that stood out was “Groovy traits demystified” by Cédric Champeau. You can check out the presentation here.

After all sessions we had a nice feather bird session at the end where everybody discussed about Groovy Grails experience and its future. It was a great end to a wonderful day.



Leave a Reply

Your email address will not be published. Required fields are marked *