- Shopping Bag ( 0 items )
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).
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