Consulting Training Blog Careers About Us Contact Us

Web Development using Grails Training

Course ID: CC-222
Duration: 4 Days

Upcoming Classes

Sorry, nothing scheduled right now. Click the Get Notified button below to be alerted when a class is scheduled.

Get Notified

On Site/Private

Can't find a class that fits right for you? Contact us to inquire about scheduling your own private class

Contact Us


Intertech Also Offers Complete Groovy Training

This course teaches experienced web developers how to use the Grails framework to rapidly create sophisticated web applications.


Bring This Course To You

For groups of 5 or more, let Intertech bring this course to your location. Customized versions tailored towards your objectives are also available.

Learn More

Learning Objectives

  • Develop model-view-controller web applications using Grails
  • Access relational databases from Grails
  • Work with existing Java classes and libraries
  • Build unit and functional tests for web applications


All attendees should be familiar with web development in Java, including servlets, JSPs, and database access. Knowledge of Groovy is assumed but reviewed.

Course Outline

Groovy Fundamentals

  • Differences between Groovy and Java
  • Declaring classes
  • Using assertions
  • Groovy Strings
  • Closures
  • Lists and Maps
  • Expando Objects
  • Ranges
  • Metaprogramming
  • Builders

Grails Project Structure

  • Overview of a Grails project
  • Directories for model classes, controllers, and views
  • Data source configuration
  • Logging
  • Command line utilities
  • IDE integration

Application Entities

  • Object-Relational Mapping with GORM
  • Optional properties
  • Constraints and validation
  • Modeling relationships
  • Performing CRUD operations
  • Dynamic queries
  • Connection to Hibernate


  • Dynamic scaffolding
  • Working with the dynamic operations
  • Static scaffolding
  • Generating controllers
  • Generating views

Grails Controllers

  • Setting the default action
  • Accessing request attributes
  • Flash scope
  • Data binding and type conversion
  • Rendering a response
  • Using action interception

Groovy Server Pages

  • Groovy scriptlets
  • Built-in Grails tags
  • Dynamic tags
  • Layouts and templates
  • Pagination
  • Creating custom tags

Adding Ajax Support

  • Basics of Ajax
  • Handling events
  • Ajax-supporting tags

Services and Jobs

  • Transactions
  • Services and dependency injection

Java Integration

  • ORM integration with Hibernate
  • Dependency injection with Spring
  • Working with legacy databases

Free Resources from Intertech

Complete Guide to Becoming a Full Stack Developer

Free Book Chapter: Spring Web

Free eBook: DevOps Tutorial