Making Java Groovy
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.
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.
- Easier Java
- Closures, builders, and metaprogramming
- Gradle for builds, Spock for testing
- Groovy frameworks like Grails and Griffon
Table of Contents
Part 1: Up to speed with Groovy
Chapter 1. Why add Groovy to Java?
Chapter 2. Groovy by example
Chapter 3. Code-level integration
Chapter 4. Using Groovy features in Java
Part 2: Groovy tools
Chapter 5. Build processes
Chapter 6. Testing Groovy and Java projects
Part 3: Groovy in the real world
Chapter 7. The Spring framework
Chapter 8. Database access
Chapter 9. RESTful web services
Chapter 10. Building and testing web applications
Appendix A. Installing Groovy
Appendix B. Groovy by feature
Appendix C. Soap-based web services available online at manning.com/kousen
- Paperback: 368 pages
- Publisher: Manning Publications (September 2013)
- Language: English
- ISBN-10: 1935182943
- ISBN-13: 978-1935182948