Concurrent Programming in Java: Design Principles and Patterns, 2nd Edition View Larger Image | Doug Lea Addison-Wesley, Paperback, 2nd edition, Published October 1999, 411 pages, ISBN 0201310090 | List Price: $64.99 Our Price: $50.50 You Save: $14.49 (22% Off)
| | | Availability: Out-Of-Stock |
Customer Reviews: 1 Average Customer Rating:      Write a Review and tell the world about this title! People who purchase this book frequently purchase: - Head First Design Patterns; Eric Freeman, et al, $28.50, 37% Off!
- Java Performance Tuning, 2nd Edition; Jack Shirazi, $27.95, 38% Off!
- Design Patterns: Elements of Reusable Object-Oriented Software; Erich Gamma, et al, $46.50, 22% Off!
- Hibernate in Action; Christian Bauer, et al, $27.95, 38% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
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.
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.
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.
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.
Decoupling Observers.
Further Readings.
Transactions.
Transaction Protocols.
Transaction Participants.
Creating Transactions.
Vetoable Changes.
Further Readings.
Implementing Utilities.
Acquire-Release Protocols.
Delegated Actions.
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.
CSP.
Further Readings.
Index.
About the Author
Doug Lea is one of the foremost experts on object-oriented technology
and software reuse. He has been doing collaborative research with Sun Labs for
more than five years. Lea is Professor of Computer Science at SUNY Oswego, Co-director
of the Software Engineering Lab at the New York Center for Advanced Technology
in Computer Applications, and Adjunct Professor of Electrical and Computer Engineering
at Syracuse University. In addition, he co-authored the book, Object-Oriented
System Development (Addison-Wesley, 1993). He received his B.A., M.A., and
Ph.D. from the University of New Hampshire.
Customer Reviews
Customer Reviews: 1 Average Customer Rating:      Mar 1, 2001     praveen Excellent book for writing multithreaded applications This is the excellent book which provides design strategies for multi threading applications in java. Some of these principles can be used in any language I feel.
|