Grails Cookbook - A collection of tutorials and examples

Grails Forum Application

This tutorial will show how to implement a simple forum application using Grails. Complete source code will be shown at the end

Grails Example Application - Download / Export Excel File

This example application will show how to export excel file in a Grails application without using a plugin. For simplicity, JExcelApi is used. The sample will include multiple sheet just in case you need such feature in your project. The output of the finished application will look like this:

Grails Example Application - Download / Export ZIP File

This example application will show how to export ZIP file in a Grails application. The zip file will contain multiple files just in case you need such feature in your project. The output of the finished application will look like this:

Grails Example Application - Simple Document Management System

This is an example application that implements a simple document management system. The goal is to show how to upload or download documents in a Grails application. The output will look like this:

Grails Example Application - Save Documents To Database

This is an example application that implements a simple document management system that saves the file to the database instead of the file system. The goal is to show how to store and retrieve binary data from the database. This is based on a previous post. It is recommended to view that post first before proceeding.
The user interface and user experience is exactly the same as the previous example. Only the internal workings is different:

Grails Example Application - Simple Ajax Chat

This is an example application that implements a simple group style chat. It shows simple usage of default Grails Ajax Tags. The final output will look like this:
d1
d2