Groovy

Background:

In one of my previous projects I was asked to setup the environment / automate integration tests (Referred to as Itest from now on) which required a machine with 2 CPU's & 5 GB RAM, this means that in any case a developer wishing to run Itests will never be able to run them locally, and will have to use some existing server.

 

The problem with my previous statement is that the developer, whilst checking his tests will be busy most of the time preparing his Itest environment, rather then checking the integrity of his tests, need I say that the fact we need 2 CPU's & 5GB RAM means the server takes time to load and only once it is up you can start testing.

 

hagzag 06/12/2009 - 06:39

Maven 3 will have extensive support for Groovy:

  • It will be possible for the pom file itself to be written in Groovy. This means the pom can be created with dynamic code.
  • Executing Groovy code directly at different lifecycle points
  • Short syntax for defining dependencies

 

The pom files will be translated to XML, so tool support (IDE integration) will continue to work.

 

Read more:

http://www.wakaleo.com/blog/236-writing-your-pom-files-in-groovy-a-sneek...

http://www.wakaleo.com/blog/237-more-groovy-magic-with-maven-pom-files

ittayd 22/11/2009 - 18:05

http://stronglytypedblog.blogspot.com/2010/02/java-vs-scala-vs-groovy-vs-groovy.html

 

The blog post compares the performance of quicksort implemented in Java, Scala, Groovy and Groovy++. 

 

(Groovy++ is an effort to create a statically typed variant of Groovy, so that dynamic and static programming can be mixed).

 

Bottom line: Scala and Java compare in performance, Groovy is 512 times slower and Groovy++ is only 42 times slower. This is obviously just a micro-benchmark, but I don't see how manipulating any other sort of data will make the difference in performance smaller. 

 

ittayd 07/02/2010 - 22:02

 http://www.jsfcentral.com/articles/inside_gracelets_1.html

adi 30/11/2009 - 19:50

Vivek Pandey, GlassFish technical lead for scripting languages support, and Jacob Kessler, GlassFish scripting engineer and self-described code monkey, presented Dynamic Languages Powered by GlassFish v3 Application Server (TS 4921) on Wednesday at the JavaOne conference. The two Sun engineers focused their presentation on the Python, Ruby, and Groovy languages.

arik 30/06/2009 - 22:36

This Catalog Sample app demonstrates the usage of Groovy and Grails to implement pagination of data sets for a Store Catalog.
download Catalog sample code

Overview of the Technologies and Frameworks in the Sample Application

zvika 30/04/2008 - 13:16
Syndicate content