This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Java 7 Concurrency Cookbook - Use cases ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Java 7 Concurrency Cookbook - Use cases ?" Watch "Java 7 Concurrency Cookbook - Use cases ?" New topic

Java 7 Concurrency Cookbook - Use cases ?

paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 192
Does the book go into real world use cases for using multiple threads in an application ?

I've been developing relatively simple web apps and the issue has rarely come up where I need to develop a multi threaded solution.

I've had desktop app where the users needed to run print jobs on several different printers simultaneously and an app where the user need to set a timer to run a job on certain date and time ,and a third where I used threads to update a display in a java swing app . That has been about it .

Javier Fernandez Gonzalez

Joined: Dec 10, 2012
Posts: 20

Hello Paul

He have tried that the examples reflect real world situations. Take into account that each recipe explains a concept using an example and they have between 4 and 10 pages, so the examples can't be very big.

If you want to see a complete application that uses concurrency elements, you can take a look to a open source project

If you need more info, please let me know

Author of Java 7 Concurrency Cookbook
paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 192
Thanks Javier.
The section you mentioned ,in other replies, on testing multi threaded code sounds particularly interesting.
I agree. Here's the link:
subject: Java 7 Concurrency Cookbook - Use cases ?
It's not a secret anymore!