“Making Java Groovy” by Kenneth A. Kousen 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.” This is taken from the manning.com site and it is the best summary for this book.
In general I’ve been a java developer for a couple of years. Recently I am a bit daunting with the whole Java ecosystem but of course Java is a very reliable and quite a good language (it has pros and cons but it is very, very popular). And I like it. But in recent years I started looking for something else and the result of it is Groovy. It is an interesting language: dynamic, concise and very powerful. I used it sometimes but I seldom mix Java and Groovy - I have not got idea what an interesting cohabitation can be. This book has changed my perception of both of them.
It is divided into three parts: “Up to speed with Groovy”, “Groovy tools” and “Groovy in the real world”.
Part 1 “Up to speed in Groovy” is introduction of Groovy and why to use. It is not some kind of a tutorial but is a good source of reason why Java developer should get accustomed with this language.
Part 2 “Groovy tools” presents tools for the build process (and how we can simplify the whole process) and tools for testing. We can find introduction to such excellent tools as Gradle and Spock.
Part 3 “Groovy in real world” demonstrates how Groovy extends, improves and changes the way we develop various applications. This part presents such subjects as:
- extension to the Spring Framework,
- improvement on the ground of databases such as: JDBC, Hibernate, JPA, GORM and last hype NoSQL,
- development of RESTful Web Services with recent extension such as Hypermedia,
- full stack build web applications. We can see extension and recipes how to test in general webapps.
There are also several valuable appendixes about Groovy features and installing Groovy and developing SOAP-based Web Services.
I think that good introduction and motivation for reading this book is a presentation given by the author: “Making Java Groovy” .
I strongly recommend this book for every Java developer who wants to start using Java in different ways than those he used to.
No comments:
Post a Comment