JavaZone 2011 - Java Concurrent Animated
This presentation consists of a series of animations that visualize the functionality of the components in the java.util.concurrent library.
Each animation features buttons that correspond to the method calls in that component. Each click of a button shows how the threads interact in real time. The animations are controlled by the actual Java concurrent component they are illustrating, so the animation is not only a visual demonstration, it's also a code sample.
Key points covered will be
- An explanation of the use case for each of 14 concurrent components.
- Description of the design pattern handled by the component
- How the concurrent component handles the use case
- Visualization through animation of the use case.
Components covered include
- Executors (non-fair & fair)
- Runnable/Callable
- Semaphore
- Future
- Reentrant Lock
- ReadWriteLock
- Condition
- BlockingQueue
- CyclicBarrier
- CountDownLatch
- CompletionService
- ConcurrentHashMap
- Fork & join
- Compare & Swap
If you’re still using constructs like Thread.start or wait/notify, you'll want to attend this meeting.
The presentation is packaged as a self-executable Java Archive (JAR) file and is available for download. It'll serve as a valuable reference for any Java practitioner.
Victor Grazi
Victor Grazi is Vice President of Application Development at Credit Suisse Client Technology Services/HOLT, and is also the creator of the Java Concurrent Animated open source project on SourceForge.
He is a Java evangelist and has been building real time financial systems in Java since JDK version 1.02
