Web Application Development with Groovy and Grails

143 Ratings

Course Number: GRO-102

Duration: 5 days (32.5 hours)

Format: Live, hands-on

Grails Training Overview

Accelebrate's Introduction to Web Application Development with Groovy and Grails training teaches Java developers the basics of Groovy and how to use the Grails framework to rapidly create sophisticated web applications.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some Programming courses are available as live, online classes for individuals.

Objectives

  • Understand the fundamentals of the Groovy language and its relationship to Java
  • Properly set up Groovy projects, including data sources, logging, command-line utilities, and IDE integration
  • Use scaffolding to rapidly generate a framework for your application
  • Construct controllers that control routing within your application
  • Master Groovy Server Pages for web applications and add Ajax support
  • Render responses to the browser in JSON or XML
  • Integrate with leading Java frameworks such as Hibernate and Spring
  • Use plugins to add functionality to your Groovy applications

Prerequisites

All attendees should be familiar with web development in Java, including servlets, JSPs, and database access.

Outline

Expand All | Collapse All

Introduction
Groovy Fundamentals
  • Differences between Groovy and Java
  • Declaring classes
  • Using assertions
  • Groovy Strings
  • Closures
  • Lists and Maps
  • Expandos
  • Ranges
  • Lists, Maps, and Sets
  • Builders
  • Metaprogramming
Grails Project Structure
  • Overview of a Grails project
  • Directories for model classes, controllers, and views
  • Data source configuration
  • Logging
  • Command line utilities
  • IDE integration
Domain Classes
  • Object-Relational Mapping with GORM
  • Optional properties
  • Constraints and validation
  • Modeling relationships
  • Performing CRUD operations
  • Dynamic queries
  • Connection to Hibernate
Scaffolding
  • Dynamic scaffolding
  • Working with the dynamic operations
  • Static scaffolding
  • Generating controllers
  • Generating views
Controllers
  • Setting the default action
  • Accessing request attributes
  • Flash scope
  • Data binding and type conversion
  • Rendering a response
  • Redirects and returns
Groovy Server Pages
  • Built-in Grails tags
  • Dynamic tags
  • Layouts and templates
  • Pagination
  • Creating custom tags
Adding Ajax Support
  • Basics of Ajax
  • Ajax-supporting tags
  • Rendering JSON and XML responses
Services and Jobs
  • Transactions
  • Services and dependency injection
Java Integration
  • ORM integration with Hibernate
  • Dependency injection with Spring
  • Working with legacy databases
Plugins
  • Architecture
  • Installing plugins
  • Review of common plugins
Conclusion

Training Materials:

All Groovy training students receive comprehensive courseware.

Software Requirements:

  • A recent version of Windows, macOS, or Linux with at least 8 GB RAM
  • JDK 8 or later
  • The latest stable release of Grails
  • A powerful IDE that supports Groovy and Grails, such as IntelliJ IDEA
  • Other free software - please contact us if you have purchased this class


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan