Groovy Weekly #34 back from vacations!
After a long summer break, it’s high time we resume Groovy Weekly, and come back to our every-Tuesday agenda! Get ready for lots of content!
If there were one particular item of news I’d like to highlight in this edition, that’s the news about the New York Times that is going to use Groovy and its Android support (in the upcoming Groovy 2.4), as well as RxJava, to revamp its Android application to make more “reactive”.
Speaking of Groovy 2.4, it’s interesting to note that the new beta released today reduces the bytecode size, by not generating unneeded methods anymore. This should make Android developers happy, since they are overal limited in the number of methods in Android applications.
Next week will be pretty Groovy in Dallas, as the SpringOne2GX conference will be on. Perhaps we won’t have yet much news and presentations to share next Tuesday, but the following week will list all the great content and news happening at the conference. If you’re around, don’t hesitate to tell hi!
Releases
- Groovy 2.4-beta-3 released with reduced synthetic methods (particularly handy for Android developers) to reduce the bytecode size
- Ratpack 0.9.8 released with Ratpack’s HttpClient testing support, dangling request detection, and reactive stream support
- Griffon 2.0 RC-2 released
- Gradle 2.1 RC-3 is available for testing
- Grooscript Gradle plugin 0.5.1 is out
- Grails Petclinic sample app has been updated to 2.4.3 and now uses the asset-pipeline plugin and has new tests for the Domain classes.
- Gdub, an enhanced Gradle wrapper
- JavaFX charting support for GroovyLab
- Fabiano Taioli created a micro Groovy, thread-safe, dependency injection container, called Gimple
News
- The New York Times is going Groovy with Reactive Android by Mohit Panday
- The Groovy project on Github has just crossed the 500th pull requests mark. Still some work to close the 25 still open though! Keep’em coming, it’s a wonderful way to contribute to the project!
- The Grails Diary by Jacob Aae Mikkelsen
Articles
- Why your company should be using Groovy? Scott Hickey comes back on the Mutual of Omaha Groovy case study
- Mark Perry on Groovy Monads
- Using the GrooScript Node.js support
- Robert Fletcher uses Hamcrest with Spock
- Multiple interface mocks with Spock by Rob Fletcher
- Ratpack: First Impressions, by Sean Walsh
- Andrés Almiray’s Gradle glam: custom Asciidoctor extensions in Groovy
- MrHaki’s Asciidoctor goodness: writing extensions in Groovy
- MrHaki’s Groovy goodness
- MrHaki’s Gradle goodness
- Romin Irani’s Gradle tutorial series
- Part 4: Java web applications
- Part 5: Google AppEngine plugin
- Part 6: Android Studio and Gradle
- Part 7: Android Studio, Gradle and Google AppEngine
- Part 8: Gradle, Google AppEngine, Endpoints and Android Studio
- Part 9: Cloud Endpoints, persistence and Android Studio
- Part 10: Consuming Cloud Endpoints in Android Studio
- Robert Peszek’s Grails/Hibernate series:
- Part 3: DuplicateKeyException, catch it if you can
- Part 4: Hibernate proxy objects
- Part 5: auto-saving and auto-flushing
- Add Javascript unit tests and run them with “grails test-app” by Igor Shults
- Dmitriy Drenkalyuk covers advanced GORM features: inheritance, embedded data, maps and lists storing
Presentations
- Venkat Subramaniam reveals how Groovy named parameter constructor works
- GR8Conf US 2014 videos
- DevOps, Chef and Grails, presented by Ken Liu
- Groovy Puzzlers presentation by Baruch Sadogursky and Andrés Almiray
- Why your build matters, by Peter Ledbrook
- One build to rule them all, by John Engelman
- REPL driven development with the Grails console plugin, by David Kuster
- A paid video on effective Gradle implementation by Lee Fox and Ryan Vanderwerf for Packt Publishing
Google+ posts
- Richard Vowles releases a new version of his Maven Groovydoc plugin
- Al Baker reports about Groovy’s presence the next semantic web conference with GroovySparql and Stardog-Groovy
Tweets
- GVM 2.0 is rolling out a new broadcast API
- Spring Boot 1.1.5 is available through GVM
- Gradle 2.1 RC-2 is available on GVM
- The Lazybones Gradle plugin is now in the Gradle plugin portal
- Lazybones 0.7.1 is on GVM
- Cédric Champeau is gathering feedback about Groovy traits in production for his SpringOne2GX presentation
- Cédric Champeau will be speaking about Groovy and Android at Devoxx
- The Asciidoctor Java integration (Asciidoctorj) is on the road to Gradle
- Marcin Erdmann recently joined the GradleWare team. Congrats to him!
- Peter Ledbrook reminds us we can submit talks for the Groovy / Grails eXchange conference in London, next December
Mailing-lists posts
- The debate around advocating Groovy vs Java resumes speaking about how to manage adoption
- A discussion on using Groovy in a Java EE project
- Søren Berg Glasius is planning on taking over and updating the GroovyBlogs website
- Groovy as a gateway drug into the enterprise
- Sergei Egorov plays with pattern matching in Groovy thanks to his Groovy Macro project
- Sergei Egorov created an online Groovy AST console
- Recent Oracle’s Java 8 updates have been breaking Groovy but the Groovy team works with Oracle to resolve those problems
- Ways to get an executable Groovy program to run without Groovy installed
Code snippets
- Following up a question on the Groovy mailing-list about how to disable @Grab, Guillaume Laforge created a small sample project showing a global AST transformation that generates compilation errors when the @Grab or @Grapes annotations are used in a Groovy script
- A Groovy puzzler in the “daily WTF” about input validation
Events
- First San Diego Groovy user group meeting on September 3rd
- The Groovy & Grails eXchange Call for Paper is already open!
- A Groovy and Grails training by Peter Ledbrook in London, end of September
Books
- Grails in Action 2nd edition is now available on Amazon
- MrHaki’s Grails Goodness notebook has been updated with new recipes