Book description
Groovy, the brand-new language for the Java platform, brings to Java many of the features that have made Ruby popular. Groovy in Action is a comprehensive guide to Groovy programming, introducing Java developers to the new dynamic features that Groovy provides. To bring you Groovy in Action, Manning again went to the source by working with a team of expert authors including both members and the manager of the Groovy Project team. The result is the true definitive guide to the new Groovy language.
About the Technology
About the Book
Groovy in Action introduces Groovy by example, presenting lots of reusable code while explaining the underlying concepts. Java developers new to Groovy find a smooth transition into the dynamic programming world. Groovy experts gain a solid reference that challenges them to explore Groovy deeply and creatively.
Because Groovy is so new, most readers will be learning it from scratch. Groovy in Action quickly moves through the Groovy basics, including
- Simple and collective Groovy data types
- Working with closures and Groovy control structures
- Dynamic Object Orientation, Groovy style
Readers are presented with rich and detailed examples illustrating Groovy's enhancements to Java, including
- How to work with builders and the GDK
- Database programming with Groovy
Groovy in Action then demonstrates how to Integrate Groovy with XML, and provides,
- Tips and Tricks
- Unit testing and build support
- Groovy on Windows
An additional bonus is a chapter dedicated to Grails, the Groovy web application framework.
What's Inside
- A comprehensive Groovy language tutorial
- Explore the benefits of dynamic programming
- Tackle day-to-day tasks like shell scripting and build support
- Grails, the Groovy web development framework
- Dozens of reusable examples
About the Reader
About the Authors
Dierk Koenig is a senior software developer, mentor and coach. He publishes in leading German magazines on software development and speaks at international conferences. He works at Canoo Engineering AG, Basel, Switzerland, where he is the founding partner and member of the executive board. He joined the Groovy project in 2004 working as a committer ever since.
Andrew Glover is the President of Stelligent Incorporated which helps companies address software quality with effective developer testing strategies and continuous integration techniques that enable teams to monitor code quality early and often. He actively blogs about software quality at thediscoblog.com and testearly.com.
Dr Paul King is Managing Director and Principal Consultant for ASERT, an Australian company specialising in helping its customers leverage emerging technologies. He has provided technical and strategic consulting to hundreds of organizations throughout the U.S. and Asia Pacific and is an active contributor to many open source projects. When not being a taxi service for his seven children, you will find Paul tinkering with the latest Agile or enterprise technologies.
As the official Groovy Project Manager and member of the JSR-241 Expert Group standardizing the Groovy Scripting Language, Guillaume Laforge is a passionate Groovy developer. In his professional career, Guillaume is a software architect and Open Source consultant, working for OCTO Technology, a company focusing on architecture of software and information systems
Jon Skeet is a software engineer and inveterate technological dabbler who happens to specialise in Java and C# development. A recent convert to Groovy, Jon is fanatical about using smarter ways to write cleaner, more readable code.
Quotes
Excellent code samples ... very readable.
- Scott Shaw, ThoughtWorks
Top of my list.
- Samuel Pullara, VP Technology Strategy, Yahoo, Inc.
Collects in one place details of the language and its libraries—a valuable resource.
- John Wilson, The Wilson Partnership
Great, logical focus on language features.
- Norman Richards, JBoss Developer, author of "XDoclet in Action"
Destined to be the definitive guide. First rate!
- Glen Smith, Bytecode Pty Ltd
You want to learn Groovy? This book has all you need.
- Stuart Caborn, ThoughtWorks
Table of contents
- Copyright
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Authors
- About the Title
- About the Cover Illustration
-
1. Your way to Groovy
- 1.1. The Groovy story
- 1.2. What Groovy can do for you
- 1.3. Running Groovy
- 1.4. Compiling and running Groovy
- 1.5. Groovy IDE and editor support
- 1.6. Summary
-
1. The Groovy language
- 2. Overture: The Groovy basics
- 3. The simple Groovy datatypes
- 4. The collective Groovy datatypes
- 5. Working with closures
- 6. Groovy control structures
- 7. Dynamic object orientation, Groovy style
-
2. Around the Groovy library
- 8. Working with builders
- 9. Working with the GDK
- 10. Database programming with Groovy
-
11. Integrating Groovy
- 11.1. Getting ready to integrate
- 11.2. Evaluating expressions and scripts with GroovyShell
- 11.3. Using the Groovy script engine
- 11.4. Working with the GroovyClassLoader
- 11.5. Spring integration
- 11.6. Riding Mustang and JSR-223
- 11.7. Choosing an integration mechanism
- 11.8. Summary
- 12. Working with XML
-
3. Everyday Groovy
-
13. Tips and tricks
- 13.1. Things to remember
- 13.2. Useful snippets
- 13.3. Using groovy on the command line
- 13.4. Writing automation scripts
- 13.5. Example automation tasks
- 13.6. Laying out the workspace
- 13.7. Summary
- 14. Unit testing with Groovy
- 15. Groovy on Windows
- 16. Seeing the Grails light
-
13. Tips and tricks
- A. Installation and documentation
- B. Groovy language info
- C. GDK API quick reference
- D. Cheat sheets
Product information
- Title: Groovy in Action
- Author(s):
- Release date: December 2006
- Publisher(s): Manning Publications
- ISBN: 9781932394849
You might also like
book
Groovy in Action, Second Edition
Groovy in Action, Second Edition is a thoroughly revised, comprehensive guide to Groovy programming. It introduces …
book
Groovy Programming
Groovy Programming is an introduction to the Java-based scripting language Groovy. Groovy has much in common …
book
Learning Groovy
Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language. …
video
Learning Groovy
Discover the simplicity and power of Groovy. Groovy is a powerful, multi-faceted language for the Java …