• Complain

Dierk König - Groovy in Action: Covers Groovy 2.4

Here you can read online Dierk König - Groovy in Action: Covers Groovy 2.4 full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Manning Publications, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Dierk König Groovy in Action: Covers Groovy 2.4

Groovy in Action: Covers Groovy 2.4: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Groovy in Action: Covers Groovy 2.4" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Summary

Groovy in Action, Second Edition is a thoroughly revised, comprehensive guide to Groovy programming. It introduces Java developers to the dynamic features that Groovy provides, and shows how to apply Groovy to a range of tasks including building new apps, integration with existing code, and DSL development. Covers Groovy 2.4.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

In the last ten years, Groovy has become an integral part of a Java developers 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

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 Groovys 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 youll need. Updated for Groovy 2.4.

Some experience with Java or another programming language is helpful. No Groovy experience is assumed.

Whats Inside

  • Comprehensive coverage of Groovy 2.4 including language features, libraries, and AST transformations
  • Dynamic, static, and extensible typing
  • Concurrency: actors, data parallelism, and dataflow
  • Applying Groovy: Java integration, XML, SQL, testing, and domain-specific language support
  • Hundreds of reusable examples

About the Authors

Authors Dierk Knig, Paul King, Guillaume Laforge, Hamlet DArcy, Cdric Champeau, Erik Pragt, and Jon Skeet are intimately involved in the creation and ongoing development of the Groovy language and its ecosystem.

Table of Contents

    PART 1 THE GROOVY LANGUAGE
  1. Your way to Groovy
  2. Overture: Groovy basics
  3. Simple Groovy datatypes
  4. Collective Groovy datatypes
  5. Working with closures
  6. Groovy control structures
  7. Object orientation, Groovy style
  8. Dynamic programming with Groovy
  9. Compile-time metaprogramming and AST transformations
  10. Groovy as a static language
  11. PART 2 AROUND THE GROOVY LIBRARY
  12. Working with builders
  13. Working with the GDK
  14. Database programming with Groovy
  15. Working with XML and JSON
  16. Interacting with Web Services
  17. Integrating Groovy
  18. PART 3 APPLIED GROOVY
  19. Unit testing with Groovy
  20. Concurrent Groovy with GPars
  21. Domain-specific languages
  22. The Groovy ecosystem

Dierk König: author's other books


Who wrote Groovy in Action: Covers Groovy 2.4? Find out the surname, the name of the author of the book and a list of all author's works by series.

Groovy in Action: Covers Groovy 2.4 — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Groovy in Action: Covers Groovy 2.4" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Groovy in Action, Second Edition
Dierk Knig and Paul King with Guillaume Laforge, Hamlet D'Arcy, Cdric Champeau, Erik Pragt, and Jon Skeet

Groovy in Action Covers Groovy 24 - image 1

Copyright

For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact

Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 761 Shelter Island, NY 11964 Email: orders@manning.com

2015 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Picture 2 Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

Picture 3Manning Publications Co.20 Baldwin RoadPO Box 761Shelter Island, NY 11964Development editor: Nermina MillerCopyeditor: Jodie AllenTechnical editor Michael SmolyakProofreader: Elizabeth MartinTechnical proofreader: Gordon DickensTypesetter: Dennis DalinnikCover designer: Marija Tudor

ISBN: 9781935182443

Printed in the United States of America

1 2 3 4 5 6 7 8 9 10 EBM 20 19 18 17 16 15

Dedication

To our families

Brief Table of Contents
Table of Contents
Praise for the First Edition

For anyone considering Groovy, or just interested in seeing what all of the fuss is around the features of dynamic languages, this book will deliver.

Gregory Pierce, JavaLobby.org

Not just a language guide, this book presents the clear, readable, and enjoyable specification of Groovy ... you should definitely read it.

Alexander Popescu, Mindstorm

A real page-turner. Brilliant examples ... all other programming books I know really fall behind.

Dr. Gernot Starke

Excellent code samples ... very readable.

Scott Shaw, ThoughtWorks

Great, logical focus on language features.

Norman Richards, author of XDoclet in Action

Destined to be the definitive guide. First rate!

Glen Smith, Bytecode Pty Ltd.

Examples are clear, complete, and they work!

David Sills, JavaLobby.org

Among the top five Manning books. For me personally, its also a perception-changing and influential book.

Weiqi Gao

The examples are the strongest part of the bookall assumptions are checked using assertions, and they have been run before printing so one can trust that theyre faultless. Explanations are fine-grained so even inexperienced developers can read it with understanding.

Marek Zganiacz, Comarch SA

Very readable, engaging, and does a great job of slotting Groovy into the broader world of software development. Highly recommended.

Pan Pantziarka

Real computer LITERATURE.

Johannes Link

Foreword to the First Edition

I first integrated Groovy into a project I was working on almost two years ago. There is a long and rich history of using scripting languages as a flexible glue to stitch together, in different ways, large modular components from a variety of frameworks. Groovy is a particularly interesting language from this tradition, because it doesnt shy away from linguistic sophistication in the pursuit of concise programming, especially in the areas around XML, where it is particularly strong. Groovy goes beyond the glue tradition of the scripting world to being an effective implementation language in its own right. In fact, while Groovy is often thought of and referred to as a scripting language, it really is much more than that.

It is traditional for scripting languages to have an uneasy relationship with the underlying linguistic system in which the frameworks are implemented. In Groovys case, they have been able to leverage the underlying Java model to get integration that is smooth and efficient. And because of the linguistic similarities between Java and Groovy, it is fairly painless for developers to shift between programming in one environment and the other.

Groovy in Action by Dierk Knig and his coauthors is a clear and detailed exposition of what is groovy about Groovy. Im glad to have it on my bookshelf.

J AMES G OSLING C REATOR OF J AVA D ECEMBER 2006

Preface

Nothing is more terrible than ignorance in action.

Johann Wolfgang von Goethe

Thinking back to January 2007 when the first edition of this book hit the shelves, feels like time travel to the Middle Ages. The idea of using a programming language other than Java on the Java platform was widely considered frivolous. Today, a new language seems to pop up every other week, and we even go as far as designing languages for specific domains (DSLs) on a per-project basis.

This evolution of languages reflects a change in concerns. If performance were still our utmost concern, we would all be coding in a low-level language. But if performance is considered good enough for our purposes, we now turn our focus on human approachability.

Groovy has been a trendsetter for this development. Many Groovy features that ease the burden of developers are now commonplace in novel languages and may even find their way into newer versions of Java: literal declarations for common datatypes, simplified property access, null-safe dereferencing, closures, and more. Surprisingly many languages have adopted Groovys optional typing strategyfew languages can claim to have static and dynamic behavior at the same time, though, the way Groovy has since version 2.

Just like Groovy, the first edition of this book set some trends as well. The idea of having every single listing as a self-testing piece of code resonated in the market and may be one reason why the book is among Mannings top-ten bestsellers of the decade.

The feedback for the first edition was overwhelming. We never expected to have so many great developers speaking so nicely about our work. We have no words to express this feeling of being proud and humbled at the same time. Most touching, though, was the stranger who once gave Dierk a pat on the back and mumbled, Thank you for the book! and then disappeared into the crowd. This book is for him.

We are fully aware that the first edition would have never been so successful if Groovy itself had been less appealing. The reason for Groovys success is easy to see: it delivers its power in the most Java-friendly manner. It is Javas dynamic friend.

The development of Groovy, from version 1.0 covered in the first edition of this book until the current version 2.4, has closed what used to be a syntax gap by providing enums, annotations, generics, the classic for loop, nested classes, varargs, static imports, and the ability to use Groovy closures where Java 8 expects lambda expressions.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Groovy in Action: Covers Groovy 2.4»

Look at similar books to Groovy in Action: Covers Groovy 2.4. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Groovy in Action: Covers Groovy 2.4»

Discussion, reviews of the book Groovy in Action: Covers Groovy 2.4 and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.