Escolar Documentos
Profissional Documentos
Cultura Documentos
EDITION
ABOUT THE BOOK
Groovy in Action, Second Edition is the undisputed
definitive reference on the Groovy language. Written
by core members of the Groovy language team, this
book presents Groovy like no other canfrom the
inside out. With relevant examples, careful
explanations of Groovy's key concepts and features,
and insightful coverage of how to use Groovy in
production tasks, including building new applications,
integration with existing code, and DSL development,
this is the only book you'll need. Updated for Groovy
2.4.
Whats Inside
` 899 /-
SUMMARY
In the last ten years, Groovy has become an integral part of a Java developer's toolbox. Its comfortable, common
sense design, seamless integration with Java, and rich ecosystem that includes the Grails web framework, the
Gradle build system, and Spock testing platform have created a large Groovy community.
/dtechpress
/dreamtechpress
dreamtechpress.wordpress.com
TABLE OF CONTENTS
Part 1: The Groovy language
Chapter 1: Your way to Groovy
The Groovy story
What Groovy can do for you
Running Groovy
Compiling and running Groovy
Groovy IDE and editor support
Summary
Chapter 2: Overture: Groovy basics
General code appearance
Probing the language with assertions
Groovy at a glance
Groovy's place in the Java environment
Summary
Chapter 3: Simple Groovy datatypes
Objects, objects everywhere
The concept of optional typing
Overriding operators
Working with strings
Working with regular expressions
Working with numbers
Summary
Chapter 4: Collective Groovy Data types
Working with ranges
Working with lists
Working with maps
Notes on Groovy collections
Summary
Chapter 5: Working with closures
A gentle introduction to closures
The case for closures
Declaring closures
Using closures
Understanding closure scope
Returning from closures
Support for design patterns
Summary
Chapter 6: Groovy control structures
Groovy truth
Conditional execution structures
Looping
Exiting blocks and methods
Summary
Chapter 7: Object orientation, Groovy style
Defining classes and scripts
Organizing classes and scripts
Advanced objectoriented features
Working with GroovyBeans
Using advanced syntax features
Summary
Chapter 8: Dynamic programming with Groovy
What is dynamic programming?
Meta Object Protocol
Customizing the MOP with hook methods
Modifying behavior through the metaclass
Realworld dynamic programming in action
Summary
Published by:
DREAMTECH PRESS
19-A, Ansari Road, Daryaganj
New Delhi-110 002, INDIA
Tel: +91-11-2324 3463-73, Fax: +91-11-2324 3078
Email: feedback@dreamtechpress.com
Website: www.dreamtechpress.com
Distributed by:
Regional Offices: Bangalore: Tel: +91-80-2313 2383, Fax: +91-80-2312 4319, Email: blrsales@wiley.com
Mumbai: Tel: +91-22-2788 9263, 2788 9272, Telefax: +91-22-2788 9263, Email: mumsales@wiley.com
/dtechpress
/dtechpress
/dreamtechpress
dreamtechpress.wordpress.com