0%

Book Description

Summary

Making Java Groovy is a practical handbook for developers who want to blend Groovy into their day-to-day work with Java. It starts by introducing the key differences between Java and Groovy—and how you can use them to your advantage. Then, it guides you step-by-step through realistic development challenges, from web applications to web services to desktop applications, and shows how Groovy makes them easier to put into production..

About this Book

You don’t need the full force of Java when you’re writing a build script, a simple system utility, or a lightweight web app—but that’s where Groovy shines brightest. This elegant JVM-based dynamic language extends and simplifies Java so you can concentrate on the task at hand instead of managing minute details and unnecessary complexity.

Making Java Groovy is a practical guide for developers who want to benefit from Groovy in their work with Java. It starts by introducing the key differences between Java and Groovy and how to use them to your advantage. Then, you’ll focus on the situations you face every day, like consuming and creating RESTful web services, working with databases, and using the Spring framework. You’ll also explore the great Groovy tools for build processes, testing, and deployment and learn how to write Groovy-based domain-specific languages that simplify Java development.

Written for developers familiar with Java. No Groovy experience required.

What’s Inside

  • Easier Java

  • Closures, builders, and metaprogramming

  • Gradle for builds, Spock for testing

  • Groovy frameworks like Grails and Griffon

About the Author

Ken Kousen is an independent consultant and trainer specializing in Spring, Hibernate, Groovy, and Grails.

Table of Contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Foreword
  5. Preface
  6. Acknowledgments
  7. About this Book
  8. About the Cover Illustration
  9. Part 1. Up to speed with Groovy
    1. Chapter 1. Why add Groovy to Java?
    2. Chapter 2. Groovy by example
    3. Chapter 3. Code-level integration
    4. Chapter 4. Using Groovy features in Java
  10. Part 2. Groovy tools
    1. Chapter 5. Build processes
    2. Chapter 6. Testing Groovy and Java projects
  11. Part 3. Groovy in the real world
    1. Chapter 7. The Spring framework
    2. Chapter 8. Database access
    3. Chapter 9. RESTful web services
    4. Chapter 10. Building and testing web applications
  12. Appendix A. Installing Groovy
  13. Appendix B. Groovy by feature
  14. Index
  15. List of Figures
  16. List of Tables
  17. List of Listings
3.16.79.65