Concurrent Programming Java Design Principles Patterns Pdf

Concurrent Programming in Java™: Design Principles and Pattern (2nd Edition). Patterns for Concurrent and Networked Objects. /Convert/tmp/toc.html Concurrent. Design principles and patterns Online Supplement This is the supplement to the book Concurrent Programming in Java: Design Principles and Patterns by Doug Lea (ISBN 0-201-31009-0). Concurrent Programming in Java(TM): Design Principles and Patterns (3rd Edition) flag Like see review Dec 31, 2012 Christophe Addinquy rated it really liked it.

Home > Store

Share|

Register your product to gain access to bonus material or receive a coupon.

  • By Doug Lea
  • Published Oct 25, 1999 by Addison-Wesley Professional. Part of the Java Series series.

Book

  • Your Price: $59.99
  • List Price: $74.99
  • Usually ships in 24 hours.

Description

  • Copyright 2000
  • Dimensions: 7-3/8' x 9-1/4'
  • Pages: 432
  • Edition: 2nd
  • Book
  • ISBN-10: 0-201-31009-0
  • ISBN-13: 978-0-201-31009-2

In this second edition, you will find thoroughly updated coverage of the Javao 2 platform and new or expanded coverage of:

  • Memory model
  • Cancellation
  • Portable parallel programming
  • Utility classes for concurrency control

The Java platform provides a broad and powerful set of APIs, tools, and technologies. One of its most powerful capabilities is the built-in support for threads. This makes concurrent programming an attractive yet challenging option for programmers using the Java programming language.

This book shows readers how to use the Java platform's threading model more precisely by helping them to understand the patterns and tradeoffs associated with concurrent programming.

You will learn how to initiate, control, and coordinate concurrent activities using the class java.lang.Thread, the keywords synchronized and volatile, and the methods wait, notify, and notifyAll. In addition, you will find detailed coverage of all aspects of concurrent programming, including such topics as confinement and synchronization, deadlocks and conflicts, state-dependent action control, asynchronous message passing and control flow, coordinated interaction, and structuring web-based and computational services.

The book targets intermediate to advanced programmers interested in mastering the complexities of concurrent programming. Taking a design pattern approach, the book offers standard design techniques for creating and implementing components that solve common concurrent programming challenges. The numerous code examples throughout help clarify the subtleties of the concurrent programming concepts discussed.


0201310090B04062001

Sample Content

Online Sample Chapter

Table of Contents


1. Concurrent Object-Oriented Programming.

Using Concurrency Constructs.

A Particle Applet.

Thread Mechanics.

Further Readings.

Objects and Concurrency.

Concurrency.

Concurrent Execution Constructs.

Concurrency and OO Programming.

Object Models and Mappings.

Further Readings.

Design Forces.

Safety.

Liveness.

Performance.

Reusability.

Further Readings.

Before/After Patterns.

Layering.

Adapters.

Subclassing.

Method Adapters.

Further Readings.


2. Exclusion.

Immutability.

Applications.

Construction.

Synchronization.

Mechanics.

Fully Synchronized Objects.

Traversal.

Statics and Singletons.

Patterns

Deadlock.

Resource Ordering.

The Java Memory Model.

Further Readings.

Confinement.

Confinement Across Methods.

Confinement Within Threads.

Confinement Within Objects.

Confinement Within Groups.

Further Readings.

Structuring and Refactoring Classes.

Reducing Synchronization.

Splitting Synchronization.

Read-Only Adapters.

Copy-on-Write.

Open Containers.

Further Readings.

Using Lock Utilities.

Mutexes.

Read-Write Locks.

Further Readings.


3. State Dependence.

Dealing with Failure.

Concurrent Programming Java Design Principles Patterns Pdf

Exceptions.

Cancellation.

Further Readings.

Guarded Methods.

Guarded Suspension.

Monitor Mechanics.

Guarded Waits.

Notifications.

Timed Waits.

Busy Waits.

Structuring and Refactoring Classes.

Tracking State.

Conflict Sets.

Subclassing.

Confinement and Nested Monitors.

Further Readings.

Using Concurrency Control Utilities.

Semaphores.

Latches.

Exchangers.

Condition Variables.

Further Readings.

Joint Actions.

General Solutions.

Concurrent programming java design principles patterns pdf download

Decoupling Observers.

Further Readings.

Transactions.

Transaction Protocols.

Transaction Participants.

Creating Transactions.

Vetoable Changes.

Further Readings.

Implementing Utilities.

Acquire-Release Protocols.

Delegated Actions.

Java Design Patterns

Specific Notifications.

Further Readings.


4. Creating Threads.

Oneway Messages.

Message Formats.

Open Calls.

Thread-Per-Message.

Worker Threads.

Polling and Event-Driven IO.

Further Readings.

Composing Oneway Messages.

Composition.

Assembly Line.

Further Readings.

Services in Threads.

Completion Callbacks.

Joining Threads.

Futures.

Scheduling Services.

Further Readings.

Parallel Decomposition.

Fork/Join.

Computation Trees.

Barriers.

Further Readings.

Active Objects.

Introduction To Java Programming Pdf

CSP.

Further Readings.


Index. 0201310090T04062001

Concurrent Programming In Java Design Principles And Patterns Pdf

More Information

  • Request an Instructor or Media review copy.

Other Things You Might Like

  • Book $51.99
  • Online Video $239.99
  • Book $47.99

Selecting the correct concurrency architecture has a significant impact on the design and performance of your applications. This book explains how to leverage the different characteristics of parallel architecture to make your code faster and more efficient.

To start with, you'll understand the basic concurrency concepts and explore patterns around explicit locking, lock free programming, futures & actors. Then, you'll get insights into different concurrency models and parallel algorithms and put them to practice in different scenarios to realize your application's true potential. We'll take you through multithreading design patterns, such as master, slave, leader, follower, map-reduce, and monitor, also helping you to learn hands-on coding using these patterns.

Once you've grasped all of this, you'll move on to solving problems using synchronizer patterns. You'll discover the rationale for these patterns in distributed & parallel applications, followed by studying how future composition, immutability and the monadic flow help create more robust code.

Toward the end of the book, you'll learn about the actor paradigm and actor patterns - the message passing concurrency paradigm.