• About
  • Privacy Policy
  • Disclaimer
  • Contact

Free kindle ebooks

Download free ebooks for kindle, android, ipad, nook, epub or read online. No registration required.

  • Home
  • How To Download
  • Computer
  • Engineering
  • Medical
  • Mystery
Home » Computer » Free Kindle Java Concurrency in Practice

Free Kindle Java Concurrency in Practice

administrator
Add Comment
Computer
Tuesday, November 12, 2013

Java Concurrency in Practice

Author: Brian Goetz | Language: English | ISBN: B004V9OA84 | Format: EPUB

Java Concurrency in Practice Description

Threads are a fundamental part of the Java platform. As multicore processors become the norm, using concurrency effectively becomes essential for building high-performance applications. Java SE 5 and 6 are a huge step forward for the development of concurrent applications, with improvements to the Java Virtual Machine to support high-performance, highly scalable concurrent classes and a rich set of new concurrency building blocks. In Java Concurrency in Practice, the creators of these new facilities explain not only how they work and how to use them, but also the motivation and design patterns behind them.

However, developing, testing, and debugging multithreaded programs can still be very difficult; it is all too easy to create concurrent programs that appear to work, but fail when it matters most: in production, under heavy load. Java Concurrency in Practice arms readers with both the theoretical underpinnings and concrete techniques for building reliable, scalable, maintainable concurrent applications. Rather than simply offering an inventory of concurrency APIs and mechanisms, it provides design rules, patterns, and mental models that make it easier to build concurrent programs that are both correct and performant.

 

This book covers:

  • Basic concepts of concurrency and thread safety
  • Techniques for building and composing thread-safe classes
  • Using the concurrency building blocks in java.util.concurrent
  • Performance optimization dos and don'ts
  • Testing concurrent programs
  • Advanced topics such as atomic variables, nonblocking algorithms, and the Java Memory Model


  • Product Details
  • Table of Contents
  • Reviews
  • File Size: 6244 KB
  • Print Length: 384 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Addison-Wesley Professional; 1 edition (May 9, 2006)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B004V9OA84
  • Text-to-Speech: Enabled
  • X-Ray:
    Not Enabled
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #47,109 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
    • #13
      in Kindle Store > Kindle eBooks > Computers & Technology > Programming > Java
    • #43
      in Books > Computers & Technology > Programming > Languages & Tools > Java
  • #13
    in Kindle Store > Kindle eBooks > Computers & Technology > Programming > Java
  • #43
    in Books > Computers & Technology > Programming > Languages & Tools > Java
Concurrency, in the form of threads, has been present in the Java language from its beginning, and this book is all about concurrency in the current and future versions of Java with an emphasis on writing practical code. This book does for concurrent programming in Java what Geary's series of books did for graphical Java - it moves concurrent Java programming out of the realm of applets containing bouncing balls and into that of providing real solutions for professional programmers.

This book is not meant to be an introduction to concurrency in Java. Its intention is to offer practical design rules to assist developers in the difficult process of creating safe, fast, and high-performance concurrent classes. While many of the general concepts in this book are applicable to versions of Java prior to Java 1.5, most of the code examples and all the statements about the Java Memory Model assume Java 1.5 or later. By "later" I mean that some of the code examples use library features added in the not-yet released Java 1.6. After the introduction, which consists of Chapter 1, the book is divided into four parts:

Part one, "Fundamentals", (Chapters 2-5) are about the basic concepts of concurrency, thread safety, and composing thread-safe classes from those concurrent building blocks provided by the Java language. Chapter 2, "Thread Safety", and 3, "Sharing Objects", include nearly all of the rules on avoiding concurrency hazards, constructing thread-safe classes, and verifying thread safety. Thus, these chapters emphasize theory and have less code than other chapters in the book. Chapter 4 , "Composing Objects", covers techniques for composing large thread-safe classes from smaller thread-safe classes.
Concurrency is hard and boring. Unfortunately, my favoured technique of ignoring it and hoping it will go away doesn't look like it's going to bear fruit. Fortunately, Java 5.0 introduced a new bunch of concurrency utilities, that work at a higher level of abstraction than marking blocks as synchronized and fields as volatile. Unfortunately, there haven't been that many books on the subject - even the good Java 5.0 books (e.g. Head First Java or Agile Java) make little mention of them - Thinking in Java being an honourable exception. Fortunately, JCIP is here, and it is authoritative stuff. And it's (mostly) very easy to understand. Plus, at 350 pages, it's not an enormous chore to slog through. It even covers changes to the upcoming Java 6.

Before tackling this book, you should have at least some idea of pre-Java 5.0 concurrency. You don't need to be a threading master, though, as the first part of the book covers basics like deadlock, atomicity and liveness. This was my favourite part of the book, as it comes with lots of small code snippets, both right and (horribly) wrong, and pithy design guidelines. It's rather like Effective Java in that respect - although the material on threading was probably the weakest part of that book, so this is a definite improvement.

The second part deals with thread pools, cancellation strategies, and GUIs. This is also excellent. Part three covers performance and testing. The last 75 pages are for advanced users and goes into a fair amount of low level detail (including a discussion of the Java Memory Model), which may be of interest to experts only.

I would be lying if I said that reading this book will demystify concurrency completely.

Java Concurrency in Practice Preview

Link

Please Wait...

0 Response to "Free Kindle Java Concurrency in Practice"

← Newer Post Older Post → Home
Subscribe to: Post Comments (Atom)

Label

  • Art
  • Biography
  • Business
  • Calendars
  • Children
  • Comics
  • Computer
  • Cookbooks
  • Craft
  • Education
  • Engineering
  • Health
  • History
  • Humor
  • Literature
  • Medical
  • Mystery
  • Parenting
  • Politics
  • Religion
  • Romance
  • Science
  • Science Fiction
  • Self Help
  • Sports

Page

  • Home
Powered by Blogger.
Copyright 2013 Free kindle ebooks - All Rights Reserved Design by Mas Sugeng - Powered by Blogger and Google