concept Grails application in category grails
appears as: Grails application, Grails applications, A Grails application

This is an excerpt from Manning's book Grails in Action, Second Edition.
Most programmers we know are the impatient type, so in this chapter we’ll take 30 minutes to develop a data-driven, Ajax-powered, unit-tested, deployable Web 2.0 website. Along the way, you’ll get a taste of the core parts of a Grails application: models, views, controllers, taglibs, and services. Buckle up—it’s time to hack.
Fetch the Grails application from a static holder class: import org.codehaus.groovy.grails.commons.ApplicationHolder def grailsApp = ApplicationHolder.application def appCtx = grailsApp.mainContext