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.
Making Java Groovyby Ken Kousen
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/i>/b>
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.
- 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
- Why add Groovy to Java?
- Groovy by example
- Code-level integration
- Using Groovy features in Java
- Build processes
- Testing Groovy and Java projects
- The Spring framework
- Database access
- RESTful web services
- Building and testing web applications
PART 2: GROOVY TOOLS
PART 3: GROOVY IN THE REAL WORLD
- Manning Publications Company
- Publication date:
- Sales rank:
- Product dimensions:
- 7.30(w) x 9.10(h) x 1.00(d)
Meet the Author
Most Helpful Customer Reviews
See all customer reviews
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.