| |
| | Enterprise Java Community: Testing Concurrent Programs |
 | | Failures in sequential programs are deterministic; if a sequential program fails with a given set of inputs and initial state, it will fail every time. |
 | | Similarly, by encapsulating concurrent interactions in a few places, such as workflow managers, resource pools, work queues, and other concurrent objects, it becomes simpler to analyze and test concurrent programs. |
 | | These mechanisms contain sufficient synchronization to protect the integrity of their internal data structures, but the objects being passed in and out belong to the application, not the work queue, and the application is responsible for the thread-safety of these objects. |
| www.theserverside.com /tt/articles/article.tss?l=TestingConcurrent (1244 words) |
|