Content tagged with: groovy
The Java platform has supported concurrent programming since its early days. However, the standard means of multithreading and synchronization have been difficult to master. This talk explores how with the help of GPars, Groovy’s library for concurrent programming, concepts like fork/join, map/reduce, actors, and dataflow can make our concurrent tasks simpler and less error-prone.
From JRuby to Clojure, Jython to Groovy, there are many different scripting languages that can now be embedded and integrated into a JVM. And there are almost as many different ways of doing it! This presentation compares and contrasts some of the different ways of embedding scripting languages in Java, showing the advantages and disadvantages of some of the techniques, all based on a real experience of embedding multiple languages in a JVM.
Griffon is a Grails like application framework for developing desktop applications in the JVM, with Groovy being the primary language of choice. Inspired by Grails, Griffon follows the Convention over Configuration paradigm, paired with an intuitive MVC architecture and a command line interface.
Paul King discusses the state of Groovy and its maturing ecosystem which includes IDE support, static analysis tools, testing frameworks and the GPars library for concurrency.
Watch this video on infoq.com
Domain specific languages have been the Next Big Thing for years now, but they have quietly started penetrating the development world. This talk covers language techniques in Java, Groovy, and Ruby on how and why to create DSLs. This session of the last Jazoon conference demonstrates with motivation for converting APIs into DSLs, and various patterns, anti-patterns, and best practices for how to achieve the optimum effect. This talk also covers the very important topic of implicit context, and how language constructs can allow you to write less verbose and …
Beside doing an overview of the Grails framework, Jeff Brown shows how to write a Spring-integrated application in Grails. Some of the topics covered are: Spring Beans in Groovy, DI in Grails, Grails and Spring MVC, Database transaction management and remoting with Spring in Grails.
Guillaume Laforge explains what makes Groovy to be better suited to create a DSL: closures, meta-programming, operator overloading, named arguments, a concise and expressive syntax, demonstrating how to write a DSL in Groovy.
Paul King presents some of the tools helping one programming in Groovy: Cobertura – code coverage, CodeNarc – code style, EasyB – acceptance tests, GroovyDoc â€“ documentation, GroovyMock/Spock – mocking and testing, Hudson – CI builds, Maven/Ant/Gant/Gradle – build files, OSGi â€“ bundles, and Spring/Guice – dependency injection.
In the last year or two, there has been a veritable explosion in the number of Grails plugins out there. Without proper testing, however, they run the risk of falling into disuse as users avoid them. In this interactive session, we will use several techniques to test different aspects of a Grails plugin. This will include functional testing via Selenium RC and testing of scripts.
Christian Dupuis, Principal Engineer with SpringSource, discusses SpringSource Tool Suite’s Groovy, Grails and Roo support, Cloud Foundry integration, and future plans for the product.