Contents
Chapter 1: Introduction to Groovy
Converting a JavaBean to a GroovyBean
Using Groovy Collection Notation and Closure
Annotations for AST Transformation
Native Support for Lists and Maps
Native Support for Regular Expression
Object Orientation: Everything is an Object in Groovy
Groovy Regular Expression Operators
Common Uses of Regular Expressions
Explicit Declaration of Closure
Reusing the Method as a Closure
Closures as Map Keys and Values
Chapter 3: More Advanced Groovy
Writing XML with Groovy MarkupBuilder
Generating Text with Templates
Using invokeMethod() and get/setProperty()
Chapter 4: Introduction to Grails
Creating Collab-Todo application
Chapter 5: Building the User Interface
Handling the Login and Logout Actions
Creating an Audit Log Using Action Interceptors
Chapter 6: Building Domains and Services
Setting a Bean to Be Transactional
Service Context Available in the Service
An Overview of Grails Security Solutions
Custom Security Implementation
Chapter 8: Web 2.0—Ajax and Friends
Advanced Presentation Components
Using Ajax Frameworks in Grails
Installing JasperReports and iReports
The ReportController and the ReportService
Adding the Report Tag to the Application
Building a Batch-Reporting Facility
Creating a Nightly Reporting Job
Chapter 12: Deploying and Upgrading Grails Applications
Understanding Grails Configurations
Packaging the Application for Deployment
Deploying to an Application Server
Chapter 13: Introduction to Griffon
Creating Your First Application
Griffon Application Life Cycle