Programming Groovy 2
eBook - ePub

Programming Groovy 2

Dynamic Productivity for the Java Developer

  1. 370 pages
  2. English
  3. ePUB (mobile friendly)
  4. Only available on web
eBook - ePub

Programming Groovy 2

Dynamic Productivity for the Java Developer

Book details
Table of contents
Citations

About This Book

You don't have to leave the rich Java Platform to take advantage of Groovy. Groovy preserves Java's semantics and extends the JDK, so programming in Groovy feels like the Java language has been augmented; it's like working with a lighter, more elegant Java. If you're an experienced Java developer who wants to learn how Groovy works, you'll find exactly what you need in this book.

You'll start with the fundamentals of programming in Groovy and how it works with Java, and then you'll explore advanced concepts such as unit testing with mock objects, using Builders, working with databases and XML, and creating DSLs. You'll master Groovy's powerful yet complex run-time and compile-time metaprogramming features.

Much has evolved in the Groovy language since the publication of the first edition of Programming Groovy. Programming Groovy 2 will help you learn and apply Groovy's new features. Creating DSLs is easier now, and Groovy's already-powerful metaprogramming facilities have improved even more. You'll see how to work with closures, including tail call optimization and memoization. The book also covers Groovy's new static compilation feature.

Whether you're learning the basics of the language or interested in getting proficient with the new features, Programming Groovy 2 has you covered.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Programming Groovy 2 by Venkat Subramaniam in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in JavaScript. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Programming Groovy 2
  2. ​
  3. Table of Contents
  4. What readers are saying about Programming Groovy 2
  5. Foreword to the Second Edition
  6. Introduction
  7. Part 1: Beginning Groovy
  8. Chapter 1: Getting Started
  9. Chapter 2: Groovy for Java Eyes
  10. Chapter 3: Dynamic Typing
  11. Chapter 4: Using Closures
  12. Chapter 5: Working with Strings
  13. Chapter 6: Working with Collections
  14. Part 2: Using Groovy
  15. Chapter 7: Exploring the GDK
  16. Chapter 8: Working with XML
  17. Chapter 9: Working with Databases
  18. Chapter 10: Working with Scripts and Classes
  19. Part 3: MOPping Groovy
  20. Chapter 11: Exploring Metaobject Protocol (MOP)
  21. Chapter 12: Intercepting Methods Using MOP
  22. Chapter 13: MOP Method Injection
  23. Chapter 14: MOP Method Synthesis
  24. Chapter 15: MOPping Up
  25. Chapter 16: Applying Compile-Time Metaprogramming
  26. Part 4: Using Metaprogramming
  27. Chapter 17: Groovy Builders
  28. Chapter 18: Unit Testing and Mocking
  29. Chapter 19: Creating DSLs in Groovy
  30. Appendix 1: Web Resources
  31. Appendix 2: Bibliography