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 in Groovy feels like you’re using an augmented Java. Programming Groovy will help you learn and take advantage of the latest version of this rich dynamic language, so you can be a more productive Java Platform developer.
Programming Groovy 2 is available here.
Out of Print
This book is currently out of print.
About this Book
- 320 pages
- Published:
- Release: P1.0 (2008-04-07)
- ISBN: 978-1-93435-609-8
The strength of Java is no longer in the language itself; it’s in the Java Platform (the JVM, JDK, and rich frameworks and libraries). But recently, the industry has turned to dynamic languages for increased productivity and speed to market.
Groovy is one of a new breed of dynamic languages that run on the Java platform. You can use these new languages on the JVM and intermix them with your existing Java code. You can leverage your Java investments while benefiting from advanced features including true Closures, Meta Programming, the ability to create internal DSLs, and a higher level of abstraction.
If you’re an experienced Java developer, Programming Groovy will help you learn the necessary fundamentals of programming in Groovy. You’ll see how to use Groovy to do advanced programming including using Meta Programming, Builders, Unit Testing with Mock objects, processing XML, working with Databases and creating your own Domain-Specific Languages (DSLs).
Programming Groovy 2.0 is available here.
Contents and Extracts
Full Table of Contents- Preface
- Getting Started
- Groovy for Java Eyes
- Dynamic Typing
- Using Closures
- Working with Strings
- Working with Collections
- Exploring the GDK
- Working with XML
- Working with Databases
- Working with Scripts and Classes
- Exploring Meta-Object Protocol (MOP)
- Intercepting Methods Using MOP
- MOP Method Injection and Synthesis
- MOPping Up
- Unit Testing and Mocking
- Groovy Builders
- Creating DSLs in Groovy
Comments and Reviews
-
Hamlet D'Arcy said:
Software developer
The book does a great job balancing quick explanations of concepts, code examples, and insights into the implementation of Groovy. Even in chapters on topics I’m familiar with, I found myself impressed with everything Venkat found that I hadn’t seen before.


