my dog learned polymorphism
The moose likes Threads and Synchronization and the fly likes Concurrency Utilities Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Concurrency Utilities" Watch "Concurrency Utilities" New topic

Concurrency Utilities

Singh Harmeet
Ranch Hand

Joined: Aug 05, 2011
Posts: 115

i want to learn concurrnecy utilities. is the concurrency utilities is replace java multithreaing old concept or if not why Concurrency Utilities is used and where is used???
and which is the ood tutorial and book for Concurrency Utilities???

With Regards :-
Harmeet Singh
Vladimir Ozerov

Joined: Sep 27, 2011
Posts: 14
Not it is not a replacement, but rather an extension of well known mechanisms such as wait/notify, intrinstic locks and so on.
These utilities provide high-level abstractions (e.g. semaphores, latches, barriers) on the one hand and completely new concepts (e.g. Locks, Atomic objects) on the other hand.

It makes no sense to explain you details of these packages because if you want to learn them you would do that on your own because there is Google

If you want to go deep into multithreading then you absolutely have to read the book "Java Concurrency in Practice" - there you will find answers on all your questions.
Singh Harmeet
Ranch Hand

Joined: Aug 05, 2011
Posts: 115

thanks Vladimir Ozerov for suggestion..........
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

To start you can read this part of the Oracle java tutorial.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
I agree. Here's the link:
subject: Concurrency Utilities
It's not a secret anymore!