×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

Making Java Groovy
     

Making Java Groovy

4.0 1
by Ken Kousen
 

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

Overview

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 Groov 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.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

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

    PART 1: UP TO SPEED WITH GROOVY
  1. Why add Groovy to Java?
  2. Groovy by example
  3. Code-level integration
  4. Using Groovy features in Java

  5. PART 2: GROOVY TOOLS
  6. Build processes
  7. Testing Groovy and Java projects

  8. PART 3: GROOVY IN THE REAL WORLD
  9. The Spring framework
  10. Database access
  11. RESTful web services
  12. Building and testing web applications

Product Details

ISBN-13:
9781935182948
Publisher:
Manning Publications Company
Publication date:
09/28/2013
Pages:
368
Sales rank:
1,395,765
Product dimensions:
7.30(w) x 9.10(h) x 1.00(d)

Meet the Author

Ken Kousen is an independent consultant and trainer specializing in Spring, Hibernate, Groovy, and Grails. He holds numerous technical certifications, along with degrees in Mathematics, Mechanical and Aerospace Engineering, and Computer Science.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

Making Java Groovy 4 out of 5 based on 0 ratings. 1 reviews.
Michael_Sw More than 1 year ago
In case it's not clear, this book is for Java developers and is not geared towards someone knew to writing software or new to Java. The entire book is laid out as an excellent sales pitch. Not, "Rah rah rah, we love Groovy!" but instead, "Java does A, B, and C well but X, Y, and Z poorly. This is why it does X, Y, and Z poorly. Groovy has the following features, and this is a walk through demonstrating how Groovy is fantastic for X, Y, and Z". I was aware of Groovy for years, but assumed it did not bring much to a Java developer's toolbox besides dynamic typing and interoperability with Java. I was totally wrong, Groovy has easily a dozen major and minor features that address common Java pain points. Automatic imports, Groovy Strings (adding some features to strings to make many common operations simpler), operator overloading, meta objects, simpler syntax for closures, and much more. Maybe best of all, Groovy's strengths have led to the Maven-compatible build tool Gradle and several highly regarded testing libraries, and you can use a subset of Groovy features to prototype code in Groovy and then convert them into Java. That is a way for a Java developer to introduce Groovy to a corporate development environment without convincing management or operations to put a new programming language into production.