Tag Archives: Grails

Grails tutorial for beginners

via Grails tutorial for beginners | Examples Java Code Geeks.

Grails tutorial for beginners – Grails is an open source framework based on Groovy and Java. It also supports MVC architecture to for developing web application. This tutorial will describe more details about Grails and represent a simple web application with Grails. 1.Groovy Groovy is a dynamic object-oriented programming language for the Java platform. It is compiled to Java Virtual Machine (JVM) …

Grails + Vaadin – browser detection

There is a browser detection plugin for Grails that helps you detect browsers, versions, language and operating systems from the request headers. Link To use this in a Vaadin application and change the UI depending on type of device you can do it like this:


Grails + Vaadin – extend Valo theme

Vaadin 7 comes with the new Valo theme. Steps to create your own custom theme, e.g. mytheme,  based upon Valo: Create a new folder . Create  file styles.scss Edit VaadinConfig.groovy


Integrating jOOQ with Grails Featuring the UWS-jOOQ Plugin

Introduction Grails is a web framework aimed to boost development productivity. One of the main features is domain centric database schema generation. Applications built with Grails are able to update existing schema just before they start. To do this, Grails is using built-in domain mappers or migrations in more advanced cases. The goal of the […]


Start Grails Project by using Bootstrap and jquery

when we create app in Grails, Some configurations are necessary to add in our own library to make the project work properly. This post is talking about how to config your Javascript and css resources in Grails properly, so Grails could load it to whole project wide. This post is using Grails 2.3.7 and Grails resources plugin […]


Grails Criteria Query with DataTables

Grails Criteria Query with DataTables This tutorial is about how to integrate Grails criteria query with DataTables pagination, filtering and sorting. Grails version: 2.4 DataTables version: 1.10 Controller Controller needs to parse request parameter to map DataTables to Grails criteria parameters. class HomeController {         def list() {         def orderIndex = params.“order[0][column]”         def index = “columns[“ + orderIndex […]


Grails with MongoDB Tips Part 1

When working on Grails projects that requires persistent data my database of choice is MongoDB. MongoDB is a noSql database that is very scalable, and at home for those who are familar with JSON (called a document in MongoDB). When applying Grails RESTful resource functionality to a domain there are some tips to ensure that […]