Introduction to Grails

Working with Grails Training

The Introduction to Grails training course you will get hands-on experience building the core components of a Grails application, including domain classes, controllers, GSPs, services, taglibs, and web services. You will learn how a Grails application interacts with a database, including the embedded pure-Java HSQLDB, an external database such as MySQL, and mapping domain classes to legacy/existing database tables.

Course Summary

Learn how to rapidly create web applications using the Grails framework.
Existing Java and Groovy developers looking to adopt Grails.
Skill Level: 
Learning Style: 

Hands-on training is customized, instructor-led training with an in-depth presentation of a technology and its concepts, featuring such topics as Java, OOAD, and Open Source.

Hands On
3 Days
Introduction to Grails is part of the Spring Source Training curriculum.

What You'll Learn

In the Introduction to Grails training course you’ll learn:

  • Introduction to Grails (Part II of course)
    • What is Grails
    • How does Groovy fit with Grails
    • Review of Model-View-Controller paradigm
    • Key Grails concepts like scaffolding, convention over configuration, closures, and metaprogramming
    • Installing Grails
  • Creating your first Grails App
    • Generating a basic “hello world” app
    • Examination of what was creating
    • Understanding the directory structure and dependencies
  • Database Development with Grails
    • Connecting to an external database
    • Review of Groovy Database development concepts
  • Grails Models
    • Review of Model
    • Creating Groovy classes as Models
  • Grails Controllers
    • Review of the Controller
    • Generating controllers
    • Creating a dynamic scaffolding
    • Examine request / response processing
  • Groovy Views
    • Review of the View
    • Creating a Groovy Server Page (GSP)
    • Working with GSP tags
    • Creating and modifying templates
  • Database Development with GORM
    • Understanding GORM – Grails Object/Relational Mapper
    • Using GORM for CRUD (Create-Read-Update-Delete)
    • Working with Dynamic Finders, Hibernate Query Language, and Find by Example
  • Understanding Groovy Services
    • Review of the command pattern
    • Understanding where services fit within a Grails application
    • Implementing a command pattern as a Service
  • Ajax and Groovy
    • Overview of Ajax and its capabilities
    • Integrating Ajax with Groovy using GSPs and Prototype.js
    • Working with HTML, XML, and JSON results


Suggested Reference Texts: 

Contact us to learn more

Not all training courses are created equal. Let the customization process begin! We'll work with you to design a custom Introduction to Grails training course that meets your specific needs.

DevelopIntelligence has been in the technical/software development learning and training industry for nearly 20 years. We’ve provided learning solutions to more than 40,000 engineers, across 200 organizations worldwide.

About Develop Intelligence

Take Our L&D Survey

Need help finding the right learning solution?   Call us: 877-629-5631