Groovy Programming: An Introduction for Java Developers

Paperback (Print)
Buy New
Buy New from
Used and New from Other Sellers
Used and New from Other Sellers
from $12.96
Usually ships in 1-2 business days
(Save 80%)
Other sellers (Paperback)
  • All (6) from $12.96   
  • New (2) from $54.15   
  • Used (4) from $12.96   


Groovy Programming: An Introduction for Java Developers
Kenneth Barclay and John Savage

“For a book targeting those new to scripting, OO or dynamic languages in general, this book is fabulous!”
– Andrew Glover, President, Stelligent Incorporated

Groovy is a unique scripting language designed to augment the Java platform. It offers Java-like syntax, native support for maps and lists, methods, classes, closures, and builders. With its dynamic weak typing and seamless access to the Java API, it is well suited to the development of many small- to medium-size applications.

Groovy is more expressive and operates at higher levels of abstraction than Java. This results in more rapid application development and increased programmer productivity. It can be used for “gluing” applications together rather than implementing complex data structures and algorithms.

Another major strength of Groovy is that the coding effort required is relatively small by comparison with code written in Java. Often the latter appears to be overly complex and difficult to understand and maintain. This is because it requires extensive boilerplate or conversion code not required by Groovy.

In one of the first guides to Groovy, authors Kenneth Barclay and John Savage introduce all the major aspects of Groovy development and explain the dynamic features this innovative programming language brings to the Java platform. This book assumes only a general knowledge of Java programming. Whether a seasoned Java developer or new to scripting languages, you’ll receive expert guidance on how to make Groovy work for you.

• 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

About the Authors
Kenneth Barclay and John Savage are both lecturers at the School of Computing, Napier University, Edinburgh, Scotland. Their speciality is object-oriented software engineering, development, and programming. They are - coauthors of Object-Oriented Design with UML and Java (Butterworth-Heinemann, 2003).

ISBN 978-0-12-372507-3

Read More Show Less

Editorial Reviews

From the Publisher
"For those new to programming, object-orientation, or dynamic languages in general, this book is fabulous!" —Andrew Glover, CTO, Vanward Technologies
Read More Show Less

Product Details

  • ISBN-13: 9780123725073
  • Publisher: Elsevier Science
  • Publication date: 12/6/2006
  • Edition description: New Edition
  • Pages: 496
  • Product dimensions: 7.40 (w) x 9.10 (h) x 1.10 (d)

Table of Contents

Preface; Chapter 1: Groovy; Chapter 2: Numbers and Expressions; Chapter 3: Strings and Regular Expressions; Chapter 4: Lists, Maps and Ranges; Chapter 5: Simple Input and Output; Chapter 6: Case Study: A Library Application (Modelling); Chapter 7: Methods; Chapter 8: Flow of Control; Chapter 9: Closures; Chapter 10: Files; Chapter 11: Case Study: A Library Application (Methods); Chapter 12: Classes; Chapter 13: Case Study: A Library Application (Objects); Chapter 14: Specialization; Chapter 15: Unit Testing (JUnit); Chapter 16: Case Study: A Library Application (Specialization); Chapter 17: Persistence; Chapter 18: Case Study: A Library Application (Persistence); Chapter 19: XML Builders and Parsers; Chapter 20: GUI Builders; Chapter 21: Template Engines; Chapter 22: Case Study: A Library Application (GUI); Chapter 23: Server Side Programming; Chapter 24: Case Study: A Library Application (Web); Chapter 25: Epilogue; Bibliography; Appendix A: Software Distribution; Appendix B: Groovy; Appendix C: More on Numbers and Expressions; Appendix D: More on Strings and Regular Expressions; Appendix E: More on Lists, Maps and Ranges; Appendix F: More on Simple Input and Output; Appendix G: More on Methods; Appendix H: More on Closures; Appendix I: More on Classes; Appendix J: Advanced Closures; Appendix K: More on Builders; Appendix L: More on GUI Builders; Index

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)