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

Related Courses

Prepare yourself for this course by taking: 


Suggested Reference Texts: 

Develop Your Intelligence

Contact us to begin the personalization process.

We'll work with you to design a custom Introduction to Grails
training solution that works for you, your team and your budget.


Problem? Solved.


They Liked Us.

You will too.

Learn About The DI Way

Everyone learns more when it's personally relevant. Yes - It's that simple!

You Recently Viewed...

Learn More Now

Contact DevelopIntelligence

Please fill out the information below to have a DevelopIntelligence Learning Solutions Architect contact you within 1-business day. If you would like immediate live help, please call (877) 629-5631.

Because we value your privacy, we don’t share your information. We’ll only use it to help you find the best personally relevant learning solution.

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