Groovy Programming

Groovy Programming

Author: Kenneth Barclay

Publisher: Elsevier

Published: 2010-07-27

Total Pages: 497

ISBN-13: 0080471595

DOWNLOAD EBOOK

Groovy Programming is an introduction to the Java-based scripting language Groovy. Groovy has much in common with popular scripting languages such as Perl, Python, and Ruby, but is written in a Java-like syntax. And, unlike these other languages, Groovy is sanctioned by the Java community for use on the Java platform. Since it is based on Java, applications written in Groovy can make full use of the Java Application Programmer Interfaces (APIs). This means Groovy can integrate seamlessly with applications written in Java, while avoiding the complexities of the full Java language. This bare-bones structure also means Groovy can be used as an introduction to Java and to programming in general. Its simpler constructions and modern origins make it ideal as a first language and for introducing principles such as object-oriented programming.This book introduces all the major aspects of Groovy development and emphasizes Groovy's potential as a learning tool. Case studies and exercises are included, along with numerous programming examples. The book begins assuming only a general familiarity with Java programming, and progresses to discuss advanced topics such as GUI builders, Groovlets, Unit Testing, and Groovy SQL. The first comprehensive book on Groovy programming that shows how writing applications and scripts for the Java platform is fast and easy Written by leading software engineers and acclaimed computing instructors Offers numerous programming examples, code samples, detailed case studies, exercises for self-study, and a companion website with a Windows-based Groovy editor


Groovy in Action

Groovy in Action

Author: Cédric Champeau

Publisher: Simon and Schuster

Published: 2015-06-03

Total Pages: 1403

ISBN-13: 1638352879

DOWNLOAD EBOOK

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 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 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 can—from 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. Some experience with Java or another programming language is helpful. No Groovy experience is assumed. What's 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 König, Paul King, Guillaume Laforge, Hamlet D'Arcy, Cédric 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 Your way to Groovy Overture: Groovy basics Simple Groovy datatypes Collective Groovy datatypes Working with closures Groovy control structures Object orientation, Groovy style Dynamic programming with Groovy Compile-time metaprogramming and AST transformations Groovy as a static language PART 2 AROUND THE GROOVY LIBRARY Working with builders Working with the GDK Database programming with Groovy Working with XML and JSON Interacting with Web Services Integrating Groovy PART 3 APPLIED GROOVY Unit testing with Groovy Concurrent Groovy with GPars Domain-specific languages The Groovy ecosystem


Groovy Programming

Groovy Programming

Author: Kenneth A. Barclay

Publisher: Morgan Kaufmann

Published: 2007

Total Pages: 476

ISBN-13: 9780123725073

DOWNLOAD EBOOK

Groovy Programming is an introduction to the Java-based scripting language Groovy. Groovy has much in common with popular scripting languages such as Perl, Python, and Ruby, but is written in a Java-like syntax. And, unlike these other languages, Groovy is sanctioned by the Java community for use on the Java platform. Since it is based on Java, applications written in Groovy can make full use of the Java Application Programmer Interfaces (APIs). This means Groovy can integrate seamlessly with applications written in Java, while avoiding the complexities of the full Java language. This bare-bones structure also means Groovy can be used as an introduction to Java and to programming in general. Its simpler constructions and modern origins make it ideal as a first language and for introducing principles such as object-oriented programming. This book introduces all the major aspects of Groovy development and emphasizes Groovy's potential as a learning tool. Case studies and exercises are included, along with numerous programming examples. The book begins assuming only a general familiarity with Java programming, and progresses to discuss advanced topics such as GUI builders, Groovlets, Unit Testing, and Groovy SQL. * The first comprehensive book on Groovy programming that shows how writing applications and scripts for the Java platform is fast and easy * Written by leading software engineers and acclaimed computing instructors * Offers numerous programming examples, code samples, detailed case studies, exercises for self-study, and a companion website with a Windows-based Groovy editor


Making Java Groovy

Making Java Groovy

Author: Kenneth Kousen

Publisher: Simon and Schuster

Published: 2013-09-18

Total Pages: 520

ISBN-13: 1638352267

DOWNLOAD EBOOK

Summary Making Java Groovy is a practical handbook for developers who want to blend Groovy into their day-to-day work with Java. It starts by introducing the key differences between Java and Groovy—and how you can use them to your advantage. Then, it guides you step-by-step through realistic development challenges, from web applications to web services to desktop applications, and shows how Groovy makes them easier to put into production. About this Book You don't need the full force of Java when you're writing a build script, a simple system utility, or a lightweight web app—but that's where Groovy shines brightest. This elegant JVM-based dynamic language extends and simplifies Java so you can concentrate on the task at hand instead of managing minute details and unnecessary complexity. Making Java Groov is a practical guide for developers who want to benefit from Groovy in their work with Java. It starts by introducing the key differences between Java and Groovy and how to use them to your advantage. Then, you'll focus on the situations you face every day, like consuming and creating RESTful web services, working with databases, and using the Spring framework. You'll also explore the great Groovy tools for build processes, testing, and deployment and learn how to write Groovy-based domain-specific languages that simplify Java development. Written for developers familiar with Java. No Groovy experience required. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside Easier Java Closures, builders, and metaprogramming Gradle for builds, Spock for testing Groovy frameworks like Grails and Griffon About the Author Ken Kousen is an independent consultant and trainer specializing in Spring, Hibernate, Groovy, and Grails. Table of Contents PART 1: UP TO SPEED WITH GROOVY Why add Groovy to Java? Groovy by example Code-level integration Using Groovy features in Java PART 2: GROOVY TOOLS Build processes Testing Groovy and Java projects PART 3: GROOVY IN THE REAL WORLD The Spring framework Database access RESTful web services Building and testing web applications


Programming Groovy 2

Programming Groovy 2

Author: Venkat Subramaniam

Publisher: Pragmatic Bookshelf

Published: 2013-07-15

Total Pages: 473

ISBN-13: 1680504347

DOWNLOAD EBOOK

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 2 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. You don't have to leave the rich Java Platform to take advantage of Groovy. Groovy preserves Java's semantics and extends the JDK, so programming in Groovy feels like the Java language has been augmented; it's like working with a lighter, more elegant Java. If you're an experienced Java developer who wants to learn how Groovy works, you'll find exactly what you need in this book. You'll start with the fundamentals of programming in Groovy and how it works with Java, and then you'll explore advanced concepts such as unit testing with mock objects, using Builders, working with databases and XML, and creating DSLs. You'll master Groovy's powerful yet complex run-time and compile-time metaprogramming features. Much has evolved in the Groovy language since the publication of the first edition of Programming Groovy. Programming Groovy 2 will help you learn and apply Groovy's new features. Creating DSLs is easier now, and Groovy's already-powerful metaprogramming facilities have improved even more. You'll see how to work with closures, including tail call optimization and memoization. The book also covers Groovy's new static compilation feature. Whether you're learning the basics of the language or interested in getting proficient with the new features, Programming Groovy 2 has you covered. What You Need To work on the examples in the book you need Groovy 2.0.5 and Java JDK 5 or higher.


Groovy Programming Fundamentals

Groovy Programming Fundamentals

Author: Ken Kousen

Publisher:

Published: 2015

Total Pages:

ISBN-13: 9781491926253

DOWNLOAD EBOOK

Learn the advantages of using Groovy by itself and with existing Java projects. This video workshop takes you into the heart of this JVM language and shows you how Groovy can help increase your productivity through dynamic language features similar to those of Python, Ruby, and Smalltalk. Presenter and Java consultant Ken Kousen demonstrates how writing anything from a simple build script to a full scale application is much easier with Groovy than with Java. You'll quickly learn how to add Groovy to your projects, and then explore the language through a host of examples and demonstrations. Once you complete this course, check out Ken's other videos on the subject: Practical Groovy and Mastering Groovy . Walk through Groovy's basic data types Use the “slashy” string syntax to define regular expressions Learn how operator overloading in the libraries simplifies your code Control and customize all the natural defaults and autogenerated code in POGOs Get demonstrations on using closures, and mixing Java and Groovy classes together Know when and how to use Abstract Syntax Tree (AST) transformations Parse and generate both XML and JSON Access RESTful web services with ease Ken Kousen, President of Kousen IT, Inc., is a technical trainer, mentor, and consultant in all areas related to Java, specializing in Android, Spring, Hibernate/JPA, Groovy, and Grails. He is the author of Making Java Groovy (Manning) and the upcoming O'Reilly book, Gradle for Android .


Mastering Groovy Programming

Mastering Groovy Programming

Author: Brett Neutreon

Publisher: Independently Published

Published: 2024-03-28

Total Pages: 0

ISBN-13:

DOWNLOAD EBOOK

Dive into the dynamic world of Groovy programming with "Mastering Groovy Programming: Essential Techniques," your comprehensive guide to leveraging the full power of the Groovy language. Designed for both beginners stepping into the world of Groovy and seasoned Java developers aiming to expand their skill sets, this book provides a deep dive into the essential topics and advanced features of Groovy. From setting up your development environment to mastering sophisticated metaprogramming and AST transformations, each chapter meticulously guides you through the intricacies of Groovy programming. "Mastering Groovy Programming: Essential Techniques" isn't just about reading; it's about doing. With practical examples, hands-on exercises, and real-world applications, you'll not only learn the theory but also apply it effectively, enhancing your ability to solve complex programming challenges. Whether you're interested in web development, integrating databases, conducting robust testing, or creating your own DSLs, this book has you covered. Unlock Groovy's potential for dynamic typing, functional programming, and seamless Java integration to write more concise, readable, and efficient code. Explore the language's unique features, including its simplified syntax, advanced collection handling, and powerful metaprogramming capabilities. By the time you turn the last page, you'll have mastered the techniques necessary to develop, debug, and deploy high-quality Groovy applications. With "Mastering Groovy Programming: Essential Techniques," elevate your programming skills and become a Groovy programming expert, ready to tackle any challenge with confidence and creativity. Start your journey towards mastering Groovy today, and discover the agility and power of this exceptional programming language.


Groovy In Action

Groovy In Action

Author: James Gosling

Publisher: Dreamtech Press

Published: 2007-04

Total Pages: 696

ISBN-13: 9788177227291

DOWNLOAD EBOOK

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. Groovy in Action is a fast-paced tutorial covering the Groovy language and how and when to apply it. Java developers will master Groovy s enhancements to Java such as builders, template engines and support for regular expressions and database programming. The book includes dozens of practical examples. It provides tips and tricks for daily work, unit testing; build support and even scripting Windows.


Learning Groovy

Learning Groovy

Author: Adam L. Davis

Publisher: Apress

Published: 2016-08-05

Total Pages: 116

ISBN-13: 1484221176

DOWNLOAD EBOOK

Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language. This book covers Groovy fundamentals, such as installing Groovy, using Groovy tools, and working with the Groovy Development Kit (GDK). You'll also learn more advanced aspects of Groovy, such as using Groovy design patterns, writing DSLs in Groovy, and taking advantage of Groovy's functional programming features. There is more to Groovy than the core language, so Learning Groovy covers the extended Groovy ecosystem. You'll see how to harness Gradle (Groovy's build system), Grails (Groovy's web application framework), Spock (Groovy's testing framework), and Ratpack (Groovy's reactive web library). What You'll Learn Grasp Groovy fundamentals, including the GDK or Groovy Development Kit Master advanced Groovy, such as writing Groovy DSLs Discover functional programming in Groovy Work with GPars, the built-in concurrency library Use Gradle, the build system Master Grails, the web application framework Work with Spock, the testing framework Harness Ratpack, the reactive web library Who This Book Is For Although this book is intended for those with a Java background, anyone with basic programming skills could benefit from it. This book is a data-filled, yet easy-to-digest tour of the Groovy language and ecosystem.


Learning Groovy 3

Learning Groovy 3

Author: Adam L. Davis

Publisher: Apress

Published: 2019-07-25

Total Pages: 163

ISBN-13: 1484250583

DOWNLOAD EBOOK

Start building powerful apps that take advantage of the dynamic scripting capabilities of the Groovy language, including what's new in Groovy version 3.0. This book covers Groovy fundamentals, such as installing Groovy, using Groovy tools, and working with the Groovy Development Kit (GDK). You'll also learn more advanced aspects of Groovy, such as using Groovy design patterns, writing DSLs in Groovy, and taking advantage of Groovy's functional programming features. Also, Learning Groovy 3 has been updated to Groovy 3.0 to include the new Parrot parser which was extended to support additional syntax options and language features. It also includes coverage of Groovydoc, which allows you to embed Groovydoc comments in various ways. And, this book covers how Groovy supports Java type annotations and more. There is more to Groovy than the core language, so Learning Groovy 3, Second Edition covers the extended Groovy ecosystem. You'll see how to harness Gradle (Groovy's build system), Grails (Groovy's web application framework), Spock (Groovy's testing framework), and Ratpack (Groovy's reactive web library). What You Will Learn Grasp Groovy fundamentals, including the GDK Master advanced Groovy, such as writing Groovy DSLsDiscover functional programming in GroovyWork with GPars, the built-in concurrency libraryUse Gradle, the build systemMaster Grails, the web application frameworkWork with Spock, the testing frameworkHarness Ratpack, the reactive web library Who This Book Is For Those with a Java background, though anyone with basic programming skills can benefit from it. This book is a data-filled, yet easy-to-digest tour of the Groovy language and ecosystem.