04.07.2013 Views

Programming Grails - Cdn.oreilly.com

Programming Grails - Cdn.oreilly.com

Programming Grails - Cdn.oreilly.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Data Validation 69<br />

Custom Validation 72<br />

Extreme Custom Validation 74<br />

Validation Plugins 75<br />

Friendly Error Messages 75<br />

Blanks Versus Nulls 76<br />

Transients 77<br />

Mapping Collections 78<br />

Querying 80<br />

Saving, Updating, and Deleting 82<br />

NoSQL Support 84<br />

4. Spring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85<br />

Inversion of Control and Dependency Injection 85<br />

Complex Dependency Configuration Using Spring SpEL 86<br />

Manually Injecting Dependencies at Runtime 87<br />

Bean Scopes 87<br />

Transactional Services 88<br />

@Transactional 89<br />

Transaction Proxies 90<br />

Transaction Utility Methods 93<br />

Bean Life Cycles and Interfaces 94<br />

Bean Postprocessors 95<br />

A Groovier Way 96<br />

Bean Aliases 97<br />

Internationalization 98<br />

Resources 98<br />

Resource Dependency Injection 99<br />

ResourceLocator 100<br />

Data Binding and Validation 101<br />

Data Binding 101<br />

Validation 102<br />

Database Persistence 102<br />

Thread-Local Holders 103<br />

JdbcTemplate 103<br />

Other Database Support 104<br />

Spring MVC 104<br />

Filters 105<br />

Using Spring MVC Controllers 106<br />

Remoting 107<br />

Client Access 108<br />

JMS 110<br />

Table of Contents | v

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!