authorizations

  • Oracle
  • ForgeRock
  • symantec
  • gurulabs
Newsletter

Would you like to receive newsletters? Send us your email.


G&G Primer: Rapid Web Development with Groovy & Grails (DTW-2200)

Course ID : DTW-2200 Duration : days

During this Groovy and Grails Primer course, you will become familiar with the features offered by the Groovy language and the Grails framework. You learn how to integrate Grails with existing Java Enterprise services, databases, and web applications and how to leverage Groovy's additional power to Java technology, and how to make writing shell and build scripts easy with Groovy's powerful processing primitives, object-oriented abilities and an Ant DSL. You learn how Groovy supports domain-specific languages and other compact syntax so your code becomes easy to read and to maintain, and how to simplify testing by supporting unit testing and mocking out-of-the-box. In addition, you learn how to integrate Grails with existing frameworks, such as Spring and Hibernate, Java Enterprise services, databases and web applications and how to use a blended approach mixing static and dynamically typed code to maximize the scalability of your code base. Come to this course to experience the power of Grails 1.0 and Groovy 1.5. This 1-day Groovy and Grails course has been developed by Grails Project lead and former Skills Matter CTO Graeme Rocher and is being kept up to date with all the latest developments by Steven DeVijver, co-founder of the Grails project.



Select date

Course ID :
DTW-2200

Price

Duration
days

Book

Who Can Benefit

This Groovy and Grails workshop is suitable for anyone who is interested in the dynamic language landscape, but has a particular focus on Java developers looking to explore the possibilities that powerful dynamic languages like Groovy offer.

Prerequisites

To benefit from this course, you will need to have experience with Java web development before the course.:

Skills Gained

Upon successful completion of the course, the student should be able to:

  • Explain the basics of the Groovy language
  • Leverage Groovy's power features, including Groovy's powerful processing primitives to make writing shell and build scripts easy
  • Use domain-specific languages
  • Leverage Grails' Hibernate-powered ORM layer
  • Use Grails' MVC components
  • Integrate Grails with existing Java components and services

Course Content

Module 1 - The Groovy Tour

  • Groovy for Java developers - The basics
    • The syntax similarities
    • New language constructs
    • Groovy Strings
    • Closures
  • What makes Groovy tick?
    • Groovy dynamism
    • Meta-programming
    • Embedding Groovy

Module 2 - Getting Started With Grails

  • The Grails introduction
    • Background, foundations and motivations
    • Current project status
    • Why choose Grails for your project?
  • Grails basics
    • The Project infrastructure
    • Running Grails scripts
    • Creating a basic CRUD application

Module 3 - The Grails Domain Model

  • Understanding domain models
    • Domain-driven development with Grails
    • Applying domain constraints
    • Defining domain relationships
  • Working with persistence methods
    • Saving, deleting, and updating
    • Using dynamic finders
    • Advanced querying with criteria and HQL

Module 4 - The Web Layer

  • Orchestrating requests with controllers
    • Rendering responses
    • Handling data binding and validation
    • Groovy views with GSP
    • Supplying the model
    • Logic, iteration, and filtering
    • Advanced site layouts with SiteMesh
  • Separating logic and content with Tag libraries
    • Dynamic tag library basics
    • Logical and iterative tags

Module 5 - Java Integration

  • Java Enterprise integration
    • Packaging and deployment onto Java Platform, Enterprise Edition (Java EE) containers
    • Using Enterprise JavaBeans (EJB 3 entities with Grails
    • Grails and the Servlet environment
  • Technology stack integration
    • Wiring it all together with the Spring DSL
    • Scripting Hibernate with GORM