- ホーム
- > 洋書
- > 英文書
- > Computer / Languages
Full Description
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.
Contents
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
Chapter 7: Methods
Chapter 8: Flow of Control
Chapter 9: Closures
Chapter 10: Files
Chapter 11: Case study
Chapter 12: Classes
Chapter 13: Case study
Chapter 14: Inheritance
Chapter 15: Unit testing (junit)
Chapter 16: Case study
Chapter 17: Persistence
Chapter 18: Case study
Chapter 19: XML Builders and Parsers
Chapter 20: GUI Builders
Chapter 21: Template Engines
Chapter 22: Case study
Chapter 23: Server-side Programming
Chapter 24: Case study
Chapter 25: Epilogue
Software Distribution
Groovy
More on Numbers and Expressions
More on Strings and Regular Expressions
More on Lists, Maps, and Ranges
More on Simple Input and Output
More on Methods
More on Closures
More on Classes
Advanced Closures
More on Builders
More on GUI Builders
Bibliography
Index