IMPORTANT: the majority of fork/join applications can be done in Java 8 using parallel streams with a fraction of the effort. In Java 8, only very advanced developers need to use fork/join explicitly. So, if you are using Java 7: read on. If you are using Java 8: skip this section and concentrate on parallel streams instead. But neither fork/join nor parallel streams obviate the need to learn concurrent programming with threads, as was covered in the previous lecture.
This section discusses how (and why) to use Java's fork/join framework to perform parallel processing. It also compares and contrasts concurrent programming with Java threads (the previous topic) with parallel programming using the Java fork/join framework (this topic). This section also gives a brief preview of replacing explicit fork/join operations with parallel streams from Java 8.
See http://courses.coreservlets.com/Course-Materials/java.html for the complete tutorial series (Programming with Java 8) and associated code. That site also lets you download PDF files of each lecture for saving or printing, and includes exercises and exercise solutions for each of the topics.