Book description
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
Table of contents
- Copyright
- Acknowledgments
- 1. Concurrent Object-Oriented Programming
-
2. Exclusion
- 2.1. Immutability
- 2.2. Synchronization
- 2.3. Confinement
- 2.4. Structuring and Refactoring Classes
- 2.5. Using Lock Utilities
-
3. State Dependence
- 3.1. Dealing with Failure
- 3.2. Guarded Methods
- 3.3. Structuring and Refactoring Classes
- 3.4. Using Concurrency Control Utilities
- 3.5. Joint Actions
- 3.6. Transactions
- 3.7. Implementing Utilities
- 4. Creating Threads
Product information
- Title: Concurrent Programming in Java™: Design Principles and Patterns, Second Edition
- Author(s):
- Release date: October 1999
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
Design Patterns in Java™, Second Edition
gives you the hands-on practice and deep insight you need to fully leverage the significant power …
video
Design Patterns in Java
Design Patterns in Java LiveLessons is a clear, concise introduction to one of the most important …
book
Design Patterns and Best Practices in Java
Create various design patterns to master the art of solving problems using Java About This Book …
book
Software Architecture Design Patterns in Java
This book presents a detailed explanation of how to implement design patterns and develop software architectures …