• Complain

Benjamin J Evans - The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming

Here you can read online Benjamin J Evans - The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2012, 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.

Benjamin J Evans The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming
  • Book:
    The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming
  • Author:
  • Publisher:
    Manning Publications
  • Genre:
  • Year:
    2012
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Summary

The Well-Grounded Java Developer offers a fresh and practical look at new Java 7 features, new JVM languages, and the array of supporting technologies you need for the next generation of Java-based software.

About the Book

The Well-Grounded Java Developer starts with thorough coverage of Java 7 features like try-with-resources and NIO.2. Youll then explore a cross-section of emerging JVM-based languages, including Groovy, Scala, and Clojure. You will find clear examples that are practical and that help you dig into dozens of valuable development techniques showcasing modern approaches to the dev process, concurrency, performance, and much more.

Written for readers familiar with Java. No experience with Java 7 or new JVM languages required.

Purchase includes free PDF, ePub, and Kindle eBooks downloadable at manning.com.

Whats Inside
  • New Java 7 features
  • Tutorials on Groovy, Scala, and Clojure
  • Discovering multicore processing and concurrency
  • Functional programming with new JVM languages
  • Modern approaches to testing, build, and CI
Table of Contents
    PART 1 DEVELOPING WITH JAVA 7
  1. Introducing Java 7
  2. New I/O
  3. PART 2 VITAL TECHNIQUES
  4. Dependency Injection
  5. Modern concurrency
  6. Class files and bytecode
  7. Understanding performance tuning
  8. PART 3 POLYGLOT PROGRAMMING ON THE JVM
  9. Alternative JVM languages
  10. Groovy: Javas dynamic friend
  11. Scala: powerful and concise
  12. Clojure: safer programming
  13. PART 4 CRAFTING THE POLYGLOT PROJECT
  14. Test-driven development
  15. Build and continuous integration
  16. Rapid web development
  17. Staying well-grounded

Benjamin J Evans: author's other books


Who wrote The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming? Find out the surname, the name of the author of the book and a list of all author's works by series.

The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming — 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 "The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming" 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
The Well-Grounded Java Developer:
Vital techniques of Java 7 and polyglot programming
Benjamin J. Evans and Martijn Verburg

The Well-Grounded Java Developer Vital techniques of Java 7 and polyglot programming - 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

2013 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.

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 3

Manning Publications Co.20 Baldwin RoadPO Box 261Shelter Island, NY 11964
Development editors: Renae Gregoire, Karen G. Miller Copyeditor: Andy Carroll Proofreader: Elizabeth Martin Typesetter: Dennis Dalinnik Cover designer: Marija Tudor

Printed in the United States of America

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

Brief Table of Contents
Table of Contents
Foreword

Kirk told me I could buy beer at the petrol station, was the first sentence I heard out of Ben Evans mouth. He had come to Crete for an Open Spaces Java conference. I explained that I usually bought petrol at the petrol station, but that there was a shop around the corner that sold beer. Ben looked disappointed. I had lived on this Greek island for five years and had never thought of trying to buy beer at the local BP.

I felt a bit like this while reading this book. I consider myself a Java fundi. I have spent the past 15 years programming Java, writing hundreds of articles, speaking at conferences, and teaching advanced Java courses. And yet, when I read Ben and Martijns book, I kept coming across ideas that I hadnt thought of. They start by explaining the development effort of changing certain parts of the Java ecosystem. Changing the internals of a library is relatively easy, and we might see some improved performance for certain input. Arrays.sort() is now using TimSort, instead of MergeSort. If you sort a partially ordered array, you might see a slight performance improvement without changing your code. Changing the class file format or adding a new VM feature requires a major effort. Ben knows. He sits on the JCP Executive Committee. This book is also about Java 7, so youll learn all the new features, such as the syntactic sugar enhancements, switching on Strings, fork/join, and the Java NIO.2.

Concurrency? Thats Thread and synchronized, right? If thats all you know about multithreading, its time to upgrade your skills. As the authors point out, the area of concurrency is undergoing a massive amount of research at present. There are daily discussions on the concurrency interest mailing list, and new ideas are emerging all the time. This book shows you how to think about divide-and-conquer and how to avoid some of the safety flaws.

When I saw the chapter on classloading, I thought they had gone a bit too far. Here were the tricks that my friends and I had used to create magical code, laid bare for all to learn! They explain how javap works, a little tool that can give you insight into the bytecode generated by the Java compiler. They also cover the new invokedynamic and explain how it differs from plain reflection.

One chapter that I particularly like is Understanding performance tuning. This is the first book since Jack Shirazis Java Performance Tuning that has captured the essence of how to make your system faster. I can summarize the chapter in three words: Measure, dont guess. This is the essence of good performance tuning. Its impossible for a human to guess which code is slow. Instead of offering a single coding trick, this chapter explains performance from a hardware perspective. It also shows you how to measure the performance. An interesting little benchmark tool is their CacheTester class, which shows the cost of cache misses.

of the book explains polyglot programming on the JVM. Java is so much more than a Java programming language. Its also a platform on which other languages can run. Weve seen an explosion of different types of languages. Some are functional, some are declarative. Some are ports (Jython and JRuby), allowing other languages to run on the JVM. Languages can be dynamic (Groovy) or stable (Java and Scala). There are many reasons to use a non-Java language on the JVM. If youre starting a new project, look at whats available before deciding. You might save yourself a lot of boilerplate code.

Ben and Martijn show us three alternative languages: Groovy, Scala, and Clojure. In my opinion, these are the most viable languages at the moment. The authors describe the differences between these languages, how they compare to Java, and their special features. The chapter on each language is just enough to help you figure out which you should be using, without too much technical detail. Dont expect a reference manual to Groovy; do expect insight on which language is the right one for you.

Next, youll gain insight into how to do test-driven development and continuous integration of your system. I found it amusing that the old faithful butler Hudson was so quickly replaced with Jenkins. In any case, these are essential tools for managing your project, along with tools like Checkstyle and FindBugs.

Studying this book will help you become a well-grounded Java developer. Not only that, it will give you tips on how to stay well-grounded. Java is constantly changing. Well see lambdas and modularization in the next version. New languages are being designed; the concurrency constructs are being updated. Many of the things that you know are true now might not be true in the future. The lesson is, dont ever stop learning!

The other day I drove past the petrol station where Ben wanted to buy his beer. Like so many companies in depressed Greece, it had closed. I never did find out if they sold beer.

DR. HEINZ KABUTZTHE JAVA SPECIALISTS NEWSLETTER

Preface

This book started life as a set of training notes written for new graduate intake in the Foreign Exchange IT department of Deutsche Bank. One of us (Ben), looking at the existing books on the market, found a lack of up-to-date material aimed at inexperienced Java developers. So he resolved to write that missing book.

With the encouragement of Deutsches IT management team, Ben traveled to the Devoxx conference in Belgium to look for inspiration on additional topics. There, he met three IBM engineers (Rob Nicholson, Zoe Slattery, and Holly Cummins), who introduced him to the London Java Community (LJCLondons Java User Group).

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming»

Look at similar books to The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming. 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 «The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming»

Discussion, reviews of the book The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming 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.