New PDF release: Groovy in Action

By Jon Skeet, Dierk Koenig, Andrew Glover, Paul King, Guillaume Laforge

ISBN-10: 1932394842

ISBN-13: 9781932394849

Groovy, the brand-new language for the Java platform, brings to Java some of the positive factors that experience made Ruby well known. Groovy in Action is a entire consultant to Groovy programming, introducing Java builders to the recent dynamic good points that great offers. To carry you Groovy in Action, Manning back went to the resource via operating with a workforce of specialist authors together with either individuals and the chief of the Groovy undertaking workforce. the result's the genuine definitive consultant to the recent Groovy language.

Groovy in Action introduces Groovy via instance, proposing plenty of reusable code whereas explaining the underlying recommendations. Java builders new to Groovy discover a gentle transition into the dynamic programming global. Groovy specialists achieve an outstanding reference that demanding situations them to discover Groovy deeply and creatively.

simply because Groovy is so new, such a lot readers can be studying it from scratch. Groovy in Action quick strikes throughout the Groovy fundamentals, including:
* easy and collective Groovy info types
* operating with Closures and Groovy regulate Structures
* Dynamic item Orientation, Groovy style

Readers are offered with wealthy and special examples illustrating Groovy's improvements to Java, including
* how one can paintings with developers and the GDK
* Database programming with Groovy

Groovy in Action then demonstrates how you can combine Groovy with XML, and provides:
* information and Tricks
* Unit trying out and construct Support
* Groovy on Windows

an extra bonus is a bankruptcy devoted to Grails, the Groovy net program Framework.

buy of the print ebook comes with a suggestion of a loose PDF e-book from Manning. additionally to be had is all code from the book.

Show description

Read or Download Groovy in Action PDF

Best java books

New PDF release: Pro Spring 2.5

The Spring Framework 2. five unlock displays the cutting-edge in either the Spring Framework and firm Java frameworks as an entire. A guidebook to this severe instrument is critical interpreting for any conscientious Java developer. — Rob Harrop, writer of professional Spring The circulate from so–called heavyweight architectures, resembling company JavaBeans, towards light-weight frameworks, like Spring, has now not stopped on account that seasoned Spring was once released through Rob Harrop and Jan Machacek in 2005; in reality, it’s picked up speed.

Anirvan Chakraborty, Jessica Ditt, Aleksa Vukotic, Jan's Pro Spring 2.5 (Books for Professionals by Professionals) PDF

The open resource agile light-weight Spring (meta) Framework 2. five is by way of some distance the best leading edge strength and “lightning rod” that’s riding today’s Java undefined. Spring has time and time back confirmed itself in real-world hugely scalable company settings corresponding to banks and different monetary associations.

Restlet in Action Developing RESTful web APIs in Java - download pdf or read online

Restlet in motion will get you begun with the Restlet Framework and the remaining structure sort. Youll create and install functions in list time whereas studying to take advantage of renowned RESTful internet APIs successfully. This ebook seems on the many elements of net improvement, on either the server and customer facet, besides cloud computing, cellular Android units, and Semantic internet purposes.

Additional resources for Groovy in Action

Sample text

3 shows some of these features and how they fit together. The shaded circles indicate the way that the features use each other. 3 Many of the additional libraries and JDK enhancements in Groovy build on the new language features. The combination of the three forms a “sweet spot” for clear and powerful code. The Groovy story 7 language features. Idiomatic Groovy code rarely uses one feature in isolation— instead, it usually uses several of them together, like notes in a chord. Unfortunately, many of the features can’t be understood in just a few words.

18 CHAPTER 1 Your way to Groovy That’s it for groovyConsole. Whether you prefer working in groovysh or groovyConsole is a personal choice. Script programmers who perform their work in command shells tend to prefer the shell. AUTHOR’S I (Dierk) personally changed my habits to use the console more often for CHOICE the sake of less typing through cut-and-paste in the edit pane. Unless explicitly stated otherwise, you can put any code example in this book directly into groovysh or groovyConsole and run it there.

GPath was built on this feature, and it allows seamless XPath-like navigation of XML documents. > You can print out all the corporate customers with their names and companies using just the following code. @company}" } Even trying to demonstrate just a few features of Groovy, you’ve seen other features in the preceding examples—string interpolation with GString, simpler for loops, optional typing, and optional statement terminators and parentheses, just for starters.

Download PDF sample

Groovy in Action by Jon Skeet, Dierk Koenig, Andrew Glover, Paul King, Guillaume Laforge

by Thomas

Rated 4.72 of 5 – based on 5 votes