登入
選單
返回
Google圖書搜尋
Concurrent Programming in Java
Douglas Lea
其他書名
Design Principles and Patterns
出版
Addison-Wesley Professional
, 2000
主題
Computers / Programming / Parallel
Computers / Languages / Java
Technology & Engineering / Electronics / General
ISBN
0201310090
9780201310092
URL
http://books.google.com.hk/books?id=-x1S4neCSOYC&hl=&source=gbs_api
EBook
SAMPLE
註釋
One of Java's most powerful capabilities is its built-in support for concurrent programming, a design technique in which multiple concurrent activities-threads take place inside a single Java program. Thread programming enables developers to design applications that are more responsive to user demands, faster, and more easily controlled.
This book offers comprehensive coverage of this vital aspect of the Java language. The book is completely up-to-date with the new thread model that is now incorporated into the most recent version of the Java Virtual Machine. All Java programmers interested in doing concurrent programming must understand these new concepts. The book approaches the topic from a design pattern point of view. It introduces and summarizes Java's concurrency support, shows readers how to initiate, control, and coordinate concurrent activities, and offers numerous recipe-like techniques for designing and implementing Java structures that solve common concurrent programming challenges. Specifically, the book presents important strategies for avoiding the inconsistencies that can crop up in multi-threaded programs, addresses the concept of "liveness"-how to ensure that all threads in use are kept active simultaneously, examines state-dependent action, and demonstrates effective methods for handling user requests in a multi-threaded environment.