Programming Concurrency on the JVM

Mastering Synchronization, STM, and Actors

by: Venkat Subramaniam

Published 2011-07-25
Internal code vspcon
Print status In Print
Pages 280
User level Advanced
Keywords concurrency, Synchronization, STM, Actors, jvm, deadlock, livelock, multicore, Clojure, JRuby, Groovy, Scala
Related titles

JRuby, Groovy, Erlang, Scala, and Clojure titles for language and concurrency.

ISBN 9781934356760
Other ISBN Channel epub: 9781680504309
Channel PDF: 9781680504316
Kindle: 9781937785154
Safari: 9781941222973
Kindle: 9781937785154
BISACs COM051280 COMPUTERS / Programming Languages / Java
COM048000 COMPUTERS / Systems Architecture / Distributed Systems & Computing
COM048000 COMPUTERS / Systems Architecture / Distributed Systems & Computing

Highlight

Stop dreading concurrency hassles and start reaping the pure power of modern multicore hardware. Learn how to avoid shared mutable state and how to write safe, elegant, explicit synchronization-free programs in Java or other JVM languages including Clojure, JRuby, Groovy, or Scala.

Description

Programming Concurrency on the JVM is the first book to show you three prominent concurrency styles: the synchronization model of the JDK, Software Transactional Memory (STM), and actor-based concurrency. You’ll learn the benefits of each of these models, when and how to use them, and what their limitations are so you can compare and choose what works best for your applications.

More than ever, learning to program using concurrency is critical to creating faster, responsive applications, and now you can leverage the Java platform to bring these applications to high-octane life. In this book, you’ll see how to:

Through hands-on exercises you’ll master these techniques in short order, and understand when and where to use them in your next killer app.


What You Need

If you are a Java programmer, you’d need JDK 1.5 or later and the Akka 1.0 library. In addition, if you program in Scala, Clojure, Groovy or JRuby you’d need the latest version of your preferred language. Groovy programmers will also need GPars.

Contents and Extracts

Full Table of Contents

Preface