Books & Videos

Table of Contents

  1. Chapter 1 Introduction to Groovy

    1. Installing Groovy

    2. Optional Typing

    3. Collections and Maps

    4. Properties

    5. Closures

    6. Groovy’s Contributions in the War Against Verbosity

    7. Differences Between Java and Groovy

    8. Groovy Strings

    9. Static this

    10. The Groovy JDK (GDK)

    11. Metaprogramming and the MOP

    12. Adding Methods

    13. Operators

    14. Overload Your Operators

    15. def Considered Harmful

    16. Closures Versus Methods

    17. TypeChecked, CompileStatic, and invokedynamic

  2. Chapter 2 Grails Internals

    1. Installing Grails

    2. The Grails Command Line

    3. IDE Support

    4. Plugins

    5. Conventions

    6. More Information

  3. Chapter 3 Persistence

    1. Data Mapping

    2. Data Validation

    3. Transients

    4. Mapping Collections

    5. Querying

    6. Saving, Updating, and Deleting

    7. NoSQL Support

  4. Chapter 4 Spring

    1. Inversion of Control and Dependency Injection

    2. Bean Scopes

    3. Transactional Services

    4. Bean Life Cycles and Interfaces

    5. Bean Postprocessors

    6. Bean Aliases

    7. Internationalization

    8. Resources

    9. Data Binding and Validation

    10. Database Persistence

    11. Spring MVC

    12. Remoting

    13. JMS

    14. EJBs

    15. JMX

    16. Email

    17. Cache Abstraction

  5. Chapter 5 Hibernate

    1. Mapping Domain Classes

    2. Dialects

    3. Hibernate Without GORM

    4. The Session

    5. Open Session in View

    6. Custom User Types

    7. Optimistic and Pessimistic Locking

    8. Accessing the Session’s Connection

    9. schema-export

    10. SQL Logging

    11. Proxies

    12. Caching

    13. HQL

    14. Collections Performance

    15. Session.createFilter()

    16. Custom Configurations

    17. Mapping Views and Subselect Classes

    18. get(), load(), and read()

    19. Performance

  6. Chapter 6 Integration

    1. JMS

    2. Mail

    3. SOAP Web Services

    4. REST

    5. JMX

  7. Chapter 7 Configuration

    1. External config Files

    2. Splitting resources.groovy

    3. Modularizing Within resources.groovy

    4. Environment-Specific Spring Beans

    5. Options for BuildConfig.groovy

    6. Adding Additional Source Folders

  8. Chapter 8 Plugins

    1. Creating a Plugin

    2. The Plugin Descriptor

    3. Splitting Applications into Plugins

    4. Building and Releasing

    5. Running the Tests

    6. Custom Plugin Repositories

    7. Plugin Documentation

    8. Custom Artifacts

    9. Some Notes on Plugin Development Workflow

  9. Chapter 9 Security

    1. OWASP

    2. Security Plugins

    3. Other Plugins and Libraries

    4. General Best Practices

  10. Chapter 10 The Cloud

    1. Cost Savings

    2. What You Give Up

    3. Cloud Foundry

    4. Heroku

    5. Other Providers

    6. Other Uses for Cloud Services

  11. Chapter 11 AOP

    1. Grails Filters

    2. HTTP Filters

    3. Groovy AOP

    4. Spring AOP

  12. Chapter 12 Upgrading Applications and Plugins

    1. Why Doesn’t the Upgrade Script Do More?

    2. A General Approach to Upgrading

    3. A Short History of Grails

    4. Notes on Upgrading

  1. Index

  2. Colophon