Book description
Groovy brings you the best of both worlds: a flexible, highly productive, agile, dynamic language that runs on the rich framework of the Java Platform. Groovy preserves the Java semantics and extends the JDK to give you true dynamic language capabilities. Programming Groovy will help you, the experienced Java developer, learn and take advantage of the latest version of this rich dynamic language. You'll go from the basics of Groovy to the latest advances in the language, including options for type checking, tail-call and memoization optimizations, compile time metaprogramming, and fluent interfaces to create DSLs.
Table of contents
- Programming Groovy 2
- For the Best Reading Experience...
-
- Table of Contents
- What readers are saying about Programming Groovy 2
- Foreword to the Second Edition
- Introduction
- Part 1: Beginning Groovy
- Chapter 1: Getting Started
- Chapter 2: Groovy for Java Eyes
- Chapter 3: Dynamic Typing
- Chapter 4: Using Closures
- Chapter 5: Working with Strings
- Chapter 6: Working with Collections
- Part 2: Using Groovy
- Chapter 7: Exploring the GDK
- Chapter 8: Working with XML
- Chapter 9: Working with Databases
-
Chapter 10: Working with Scripts and Classes
- The Melting Pot of Java and Groovy
- Running Groovy
- Using Groovy Classes from Groovy
- Intermixing Groovy and Java with Joint Compilation
- Creating and Passing Groovy Closures from Java
- Calling Groovy Dynamic Methods from Java
- Using Java Classes from Groovy
- Using Groovy Scripts from Groovy
- Using Groovy Scripts from Java
- Part 3: MOPping Groovy
- Chapter 11: Exploring Metaobject Protocol (MOP)
- Chapter 12: Intercepting Methods Using MOP
- Chapter 13: MOP Method Injection
- Chapter 14: MOP Method Synthesis
- Chapter 15: MOPping Up
- Chapter 16: Applying Compile-Time Metaprogramming
- Part 4: Using Metaprogramming
- Chapter 17: Groovy Builders
- Chapter 18: Unit Testing and Mocking
- Chapter 19: Creating DSLs in Groovy
- Appendix 1: Web Resources
- Appendix 2: Bibliography
Product information
- Title: Programming Groovy 2
- Author(s):
- Release date: July 2013
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781937785307
You might also like
book
Radar Trends to Watch: September 2023
Read about the latest developments on O'Reilly Media's Radar.
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Mythical Man-Month, The: Essays on Software Engineering, Anniversary Edition, 2nd Edition
Few books on software project management have been as influential and timeless as The Mythical Man-Month. …
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …