Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Introduction to Grails

Course Summary

The Introduction to Grails training course is designed to demonstrate how to rapidly build web applications using the Grails framework.

The course begins with an exploration of the core components of a Grails application, including connecting to databases and working with models, views, and controllers. It then covers how a Grails application interacts with a database, including the embedded pure-Java Hyper Structured Query Language Database (HSQLDB), an external database such as MySQL, and mapping domain classes to legacy/existing database tables. Finally, it concludes with sections on database development with GoLang Object-Relational Mapping (GORM) and working with Groovy services.

Learn how to rapidly build web applications using the Grails framework.
Existing Java and Groovy developers looking to adopt Grails.
Software Developer - Web Developer
Skill Level
Hack-a-thon - Learning Spikes - Workshops
3 Days
Related Technologies
Groovy | Java | Web Development | Grails


Productivity Objectives
  • Install Grails and identify the core Grails feature
  • Build a functioning Hello World app with Groovy and Grails
  • Connect to a database using GORM
  • Integrate AJAX into a basic Groovy and Grails application

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
      • Scaffolding
      • Convention over configuration
      • Closures
      • Metaprogramming
    • Install Grails
  • Creating your first Grails App
    • Generate a basic "hello world" app
    • Examine of what was creating
    • Understand the directory structure and dependencies
  • Database Development with Grails
    • Connect to an external database
    • Review of Groovy database development concepts
  • Grails Models
    • Review of model
    • Create Groovy classes as models
  • Grails Controllers
    • Review of the Controller
    • Generate controllers
    • Create a dynamic scaffolding
    • Examine request/response processing
  • Groovy Views
    • Review of the View
    • Create a Groovy Server Page (GSP)
    • Work with GSP tags
    • Create and modify templates
  • Database Development with GORM
    • Understand GORM - Grails Object/Relational Mapper
    • Use GORM for CRUD (Create-Read-Update-Delete)
    • Work with Dynamic Finders, Hibernate Query Language, and Find by Example
  • Understanding Groovy Services
    • Review of the command pattern
    • Understand where services fit within a Grails application
    • Implement a command pattern as a Service
  • Ajax and Groovy
    • Overview of Ajax and its capabilities
    • Integrate Ajax with Groovy using GSPs and Prototype.js
    • Work with HTML, XML, and JSON results
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”


Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.