Groovy Programming
Author | : Kenneth Barclay |
Publisher | : Elsevier |
Total Pages | : 497 |
Release | : 2010-07-27 |
ISBN-10 | : 9780080471594 |
ISBN-13 | : 0080471595 |
Rating | : 4/5 (94 Downloads) |
Book excerpt: 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