• Complain

Ken Kousen - Making Java Groovy

Here you can read online Ken Kousen - Making Java Groovy full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Manning Publications, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Ken Kousen Making Java Groovy
  • Book:
    Making Java Groovy
  • Author:
  • Publisher:
    Manning Publications
  • Genre:
  • Year:
    2013
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Making Java Groovy: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Making Java Groovy" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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, youll focus on the situations you face every day, like consuming and creating RESTful web services, working with databases, and using the Spring framework. Youll 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.

Ken Kousen: author's other books


Who wrote Making Java Groovy? Find out the surname, the name of the author of the book and a list of all author's works by series.

Making Java Groovy — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Making Java Groovy" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Making Java Groovy: Foreword by Guillaume Laforge
Kenneth A. Kousen

Making Java Groovy - image 1

Copyright

For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact

Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 261 Shelter Island, NY 11964 Email: orders@manning.com

2014 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Photographs in this book were created by Martin Evans and Jordan Hochenbaum, unless otherwise noted. Illustrations were created by Martin Evans, Joshua Noble, and Jordan Hochenbaum. Fritzing (fritzing.org) was used to create some of the circuit diagrams.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Picture 2 Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

Picture 3Manning Publications Co.20 Baldwin RoadPO Box 261Shelter Island, NY 11964Development editor: Cynthia KaneCopyeditor: Melinda RankinProofreader: Melody DolabTypesetter: Dennis DalinnikCover designer: Marija Tudor

ISBN: 9781935182948

Printed in the United States of America

1 2 3 4 5 6 7 8 9 10 MAL 19 18 17 16 15 14 13

Dedication

To my father, Morton Kousen, MD, who taught me everything I know about dedication, persistence, and facing the future with a positive and upbeat attitude, despite whatever pain and difficulties lay ahead. He will always be my best example of what a man should be.

Brief Table of Contents
Table of Contents
Foreword

When we designed the Groovy language almost 10 years ago, our main goal was to create a language that is a complement to Java, a close companion, that Java developers would be familiar with and could learn easily. The idea was to empower users to be more productive by removing the boilerplate of Java, and to simplify their programming lives by giving them compelling and straightforward APIs to work with. Im proud to say that the Groovy team attained that goal, making Groovy the most popular alternative language for the Java platform.

Along the way, and by virtue of its nature, Groovy was adopted by Java developers in a number of ways. For example, it was introduced in Java projects for testing purposes, because the Groovy syntax is light and readable but still resembles that of Java. For interacting with XML payloads, web services, or databases, Groovy provides handy and elegant wrappers around the Java Development Kit that make those tasks a breeze. And for writing business rules in Java applications, Groovy shines, thanks to its metaprogramming capabilities and its concise and expressive grammar.

I had the pleasure and honor of meeting Ken a few years ago at a Groovy conference, and our paths have crossed several times since then. Among other topics, we talked about how Groovy is a great fit for various assignments that Java developers have to accomplish every day but that are painful with the heavier-weight Java. So when Ken told me that he envisioned writing a book on this same topic, I was excited about the idea!

What makes this book stand out of the pack of Groovy books is its focus on the tasks that Java developers must tackle every day. How can I more easily parse or emit XML or JSON documents? How can I test my Java code with a more expressive syntax? How can I talk to my database without the error-prone JDBC API? How can I build and test Java applications more efficiently? In this book, Ken answers all of these questions and shows you a Groovy solution for each of those chores.

G uillaume L aforge
G ROOVY P ROJECT M ANAGER

Preface

A few months ago I enjoyed a pleasant dinner with Marjan Bace, Grand Poobah[] Some publishing companies strongly recommend that their books follow that model, with the reader as hero.

His actual title is Publisher.

In print form, on a tablet, or whatever.

In case you dont want to read the original Campbell, the Wikipedia page at http://en.wikipedia.org/wiki/Monomyth summarizes all 17 (!) stages.

Marjans idea, however, was that sometimes it isnt the reader who is the hero; its the technology covered by the book. In the case of Making Java Groovy, I interpret that to mean that Groovy is the hero. Where does that put Java? Not as antagonist, surely; the whole point of this book is that Java is already your ally, and that adding Groovy makes it better. Groovy and Java are like Frodo and Samwise Gamgee, headed into the black depths of Mordor, battling privation and despair, desperately trying to defeat the horrible programming challenges that await them, as well as any orcs, Nazgl, or clueless managers they might encounter along the way.

Thats a little dark. Plus, I have no idea what the Ring of Power is in this analogy, or why youd want to destroy it.[] Instead, Ill simply say that Groovy and Java work really, really well together, and Ill spend the rest of the book demonstrating how, when, and why.

I do hope that if youre holding a print copy of the book (that is, dead-treeware), no Ents were involved.

For those of you shifting nervously from side to side, worried that the attempts at humor in this preface will be sprayed liberally throughout the book (thus distracting from the actual content), let me assure you that other than in this preface, I promise to confine any attempts at humor to footnotes that can be safely skipped.[]

Like this one: How many developers does it take to change a light bulb? The classic answer is, None; thats a hardware problem. My answer is, The developer is the person by the light switch saying, Maybe this time the light will go on. Or maybe this time. Reboot again.

When Im teaching my technical training classes,[

Seriously, Best Training Anywhere. Contact me for a quote, which will inevitably rise once this book is published.

I was going to make a DRYDont Repeat Yourselfjoke here but eventually decided against it.

The source code for the book is available in my GitHub repository.[] If you examine it, youll find more examples than the ones covered in the book. Books have length limits, but source code repositories dont, and extra examples cant hurt. I decided to use the books repository as a home for any examples I felt were interesting or relevant, even if I couldnt justify the extra pages necessary to discuss them.

Check it out at https://github.com/kousen/Making-Java-Groovy.

Again, keeping to the principle that the chapters should be as independent as possible, each project has its own Gradle build file.[] All the examples have tests as well. The short snippets of code include Groovy assert statements, and test cases are used to execute the scripts during a build. The rest of the examples have a mix of JUnit tests, in Java or Groovy, and Spock tests. In practice I freely intermix both, so it seemed natural to do so here, too.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Making Java Groovy»

Look at similar books to Making Java Groovy. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Making Java Groovy»

Discussion, reviews of the book Making Java Groovy and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.