Best 8 Groovy Tutorial List


Groovy is a dynamic programming language for the JVM that combines Java’s enterprise capabilities with productivity features like closures, builders, dynamic typing and meta-programming. It can either be interpreted or compiled and you can add new methods to classes dynamically at run time, with greater flexibility than standard Java offers. There seems to be an increasing interest in Groovy so I looked around for some quality Groovy tutorials, and here are a few that make the grade. You might want to bookmark this article, as I will actively maintain this list of tutorials, as I do with Digital Media Minute’s well-received ruby on rails tutorial listings.

  • The best place to start is codehaus.org, which has links to all things Groovy, including a very comprehensive set of Groovy tutorials. You’ll also find a download for the latest stable version, user guides developer and testing guides, cookbook examples of Groovy, and an advanced usage guide.

  • This Groovy tutorial by Lars Bogle is quite comprehensive, covering installation, your first project and some example usage. Groovy classes objects and methods, loops and datatypes are covered in the introductory chapters, then Vogel moves on to a section on Grails, Groovy classes in Java and using the language via the command line. This is one of the longer and more professional Groovy tutorials on the Internet at the moment.
  • Over at skill-guru.com you will find a series of task-specific Groovy and Grails tutorials, for instance on topics like Groovy closures, calling a stored procedure, and creating and running your first application in Grails.
  • Guillaume Laforge at the Springsource blog has an excellent long tutorial on building your first Groovy-powered Google app engine web application.
  • At IBM developerWorks, Scott Davis has written several Grails and Groovy tutorials in the form of modules on topics like meta-programming with closures, ExpandoMetaClass and categories, and building a Grails application.
  • NetBeans has a brief tutorial on getting started with Groovy in NetBeans IDE.
  • Chris Judd and Jim Shingler have a very lengthy slideshare presentation on Groovy and Grails taken from CodeMash 2009.
  • Here’s another Groovy tutorial from IBM’s developerWorks on exactly how you can incorporate the language into your Java programming.
  • Best Programming Language To Learn In 2010

    With a new year upon us, it’s a time to examine the big questions: what is the best place to buy lottery tickets? Should I buy a puppy? But seriously, the sands of tech are changing rapidly so everyone should be looking to expand their repertoire, as in ‘what programming language should I learn next?’

    H3rald.com has a great article on 10 programming languages worth checking out right now: Haskell, Erlang, Io, PLT Scheme, Clojure, Squeak, OCaml, Factor, Lua, and Scala. This is no halfhearted end-of-the-year “10 best” list, it’s a thoughtful and informed overview of the pros and cons of each language. The author is opinionated but frank, admitting that in the case of Haskell for instance, some of the more difficult concepts such as monads are still beyond his grasp. Very lively debate in the comments as you might expect from those wounded by the idea that their favorite esoteric languages would be left off.

    Each of these top programming languages has a “To get you started” set of links; this is definitely an article to refer back to over the holidays, assuming you get any time off. I know I always appreciate meta- commentary and this is extremely well done.

    Also, here’s something interesting: what about creating your own programming language?

    The article gets bonus points for using the word “didascalic”. Who knew? (Wow, that word damn near exploded my voice activated typing software…)