Grails Tutorials

Your Source of Grails & Groovy Tutorial, How To, and Example Links

Log In or Register

Welcome to the Grails & Grovy Tutorial, How To, and Example Links

Hopefully you will find these pages useful and visit us often


Register so you can post and vote.

Already member: Click to Log In


My latest project spend day with kids


Welcome to the grails tutorials powered by Grails. My idea is that with your help these pages will become home of the tutorial, how to and example links to articles on the web regarding Grails and Groovy. As you find interesting article, just paste link to that article here so the all community of Grails and Groovy practicioners can benefit from it. This way our knowledge will be focused and the Grails and Groovy community will be able to grow even faster.

As you probably noticed, in these few sentences, I have already mentioned tutorials, how tos, and examples many times. This is my view what should be posted under tutorials. Only articles that describe how to implement certain functionality using Grails or Groovy. Announcements, opinions and other type of articles are not tutorials. Of course, these articles are not forbidden but support for them will be added later.

If you have or know Grails or Groovy articles you would like to share it is enough to Register and start posting links to them.

My vision is to become one of the leading places for the Grails and Groovy practicioners. To undrestand how we can achieve this and also to learn basic ideas about this project read Vision section.

I wish you lot of successful Grails and Groovy projects :)


Grails Podcast Episode 105 [details]

2 clicks; Posted on 08-Feb-2010

Java programmers use the Grails Ten Advantages [details]

43 clicks; Posted on 04-Feb-2010

Grails Podcast Episode 104 [details]

30 clicks; Posted on 03-Feb-2010


A while back I was working on a Grails project that needed to integrate with an EJB2 application via session beans. So, when my current project had a similar need I thought 'piece of cake!'. As it happens it was a piece of cake that wasn't that easy to get at. The problem came about because we were working with EJB3 this time. I had heard that it should work the same but it doesn't. I eventually found that it is still extremely easy to do (this is Grails we're talking about after all) it's just different.


  • Currently 0

0

0 votes; 14 clicks; posted on 08-Feb-2010

Tags: grails;

Getting Grails running on a Centos installation wasn’t as straight forward as I would have liked. So I thought I’d write this down to save myself some time in the future when I need to upgrade of install again. First things first, I’m writing an application using the Grails 1.2.0 web application framework. It been an enjoyable for the most part. The Groovy language is a fun language (almost a Perl-like experience), and the configuration-by-convention is quite addictive. Anyway, after getting the prototype application up to the point that it needs to be loaded to an actual machine on the inter-tubes I started the process of moving it off of my home machine to a server in which I have access.


  • Currently 0

0

0 votes; 11 clicks; posted on 08-Feb-2010

Tags: grails; Apache;


Recently I found the need to use a DAO data source based on an external library in my application. In fact a different data source from my application against which I needed to connect an Ingres database. First off it sounded quite difficult but in the end it was really easy to do. The fact that it was Ingres and not another RDBMS such as Oracle or MySQL presented no problems. Not even if it’s going to be the database administration for the application. I’ve come across this sort of situation before and haven’t had any problems apart from some data-type incompatibilities, nothing serious.


  • Currently 0

0

0 votes; 6 clicks; posted on 08-Feb-2010

Tags: grails;

While extending an existing Grails application bits of research around sorting lists using Groovy ensued. My first stop was Groovy In Action wherein the operator <=> was shown in a closure used for sorting, but with no explanation. Under Operators in the index, it became known that <=> is “The Spaceship Operator” – no doubt due to its similarity in look to a flying saucer. Sadly the referenced section of text also offered little in explaining what this bugger did exactly.


  • Currently 0

0

0 votes; 19 clicks; posted on 08-Feb-2010

Tags: groovy;

Spring’s support for scripting languages allows you to extend your Java applications with beans defined in a scripting language, such as Groovy. Spring container transparently instantiates, configure and dependency injects the beans across these supported languages. Beans defined in a scripting language like Groovy come with some handy advantages such as ability to “refresh” the already loaded Groovy classes when the underlying source files change.


  • Currently 0

0

0 votes; 17 clicks; posted on 08-Feb-2010

Tags: groovy; spring; script;


465 users registered

1347 posts currently