| help | account  


Groovy Programming: An Introduction for Java Developers
View Larger Image
Kenneth Barclay, John Savage
Morgan Kaufmann, Paperback, Published December 2006, 400 pages, ISBN 0123725070
List Price: $51.95
Our Price: $36.95
You Save: $15.00 (29% Off)


FREE Shipping on Orders over $40!*
Availability: Out-Of-Stock

Customer Reviews: 1     Average Customer Rating:

Write a Review and tell the world about this title!

People who purchase this book frequently purchase:

Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:

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.

 

Features & Benefits

  • 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

Review

"For those new to programming, object-orientation, or dynamic languages in general, this book is fabulous!" —Andrew Glover, CTO, Vanward Technologies

 

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


Customer Reviews

Customer Reviews: 1     Average Customer Rating:

Jul 15, 2007     David from Manassas, Virginia
Excellent Hands-On Introduction to Groovy
This book is a great hands-on introduction to Groovy. It has short, bite-sized chapters that give you the basics without overwhelming you with all the details. If you want the details, the author points you to the appendices (which go further into depth) or to other web sites for more information.

Each chapter has code examples and exercises that reinforce the chapter content. (Make sure you download the source code for the solutions from the author's web site).

The book covers a good range of functionality including working with databases and XML which are two areas that Groovy shines.

The author points out where Groovy extends the functionality of the Java JDK as well as the syntactical sugar that Groovy provides (such as switch statements being able to use any object type and not just primitives, standardized methods across arrays, lists, a hashes, or a collections, new range data type, etc).

There is a case study that continues throughout the book that starts with a simple command line setup and winds up being a web application that uses Spring for the persistence layer.

I found that this book was less philosophical/theoretical than "Groovy in Action" by Dierk Koenig (a book I also own). I was able to get real work accomplished after reading "Groovy Programming". I will now go back and re-read "Groovy in Action" now that I have a Groovy foundation to build upon.



Forgot your password?
FAQs
Shipping Options
Returns
Your Orders
Your Account