Module description
Lecturer(s):
Pieter van den Hombergh
Ferd van Odenhoven
| For the part concurrency we will use the book:
Java Concurrency in Practice, by Brian Goetz, See: |
The executor framework poster:
. |
The course is executed in 7 lecture weeks in the 2nd half of semester 3, starting in the week of Monday, November 07th 2011
| Week.day | Contents | Slides | Lab Tasks |
| 1.1 2011-11-07 |
Transactions | handouts slides | Relax from the previous exams;-) Then study the links and do the exercises at Java Tutorials Lesson Concurrency |
| 1.2 2011-11-11 |
Thread Safety | handouts slides | Restaurant Task
NL
DE
Initial source-code If you are a bit rusty on threading with Java, rehearse by visiting one of the tutorials on the web. The tutorial at the official oracle/sun site is quite good. Especially take care of synchronisation, the monitor concept and object lock ownership. This will be subject in the assessments. Hand in before week 2 end of day 2. An introductory example to improve (taken from www.tutorials.de): KundeMain.java |
| 2.1 2011-11-14 |
|||
| 2.2 2011-11-18 |
Sharing Objects | handouts slides | |
| 3.1 2011-11-21 |
Composing Objects | handouts slides |
Restaurant 2.0
Your can find the task description here. You start with the code from your first restaurant task. Before you start with this task, make a TAG as described in the task description. |
| 3.2 2011-11-25 |
|||
| 4.1 2011-11-28 |
Building Blocks | handouts slides |
Explain the interaction shown in the Page Renderer diagram
(the code is in the book: page 130.). Use a sequence diagram and text
to explain the interactions. 1 DIN A4 should suffice. Hand in before the end of week 5 day 1. |
| 4.2 2011-12-02 |
Task Execution |
handouts
slides
Sequence Diagrams:Future Page Render (with Future interface)Page Renderer(with ExecutorService interface) |
|
| 5.1 2011-12-05 |
Crossing task: see:
A Road To Kill!; with everything you
need for this task. Minimal hand id is the code printed with your name(s). Hand in before week 6 day 1. |
||
| 5.2 2011-12-09 |
Cancellation and Shutdown | handouts slides | |
| 6.1 2011-12-12 |
Applying Thread Pools | handout slides | Last 6 sessions you can work on Concurrent Huffmann encoding Hand in before the end of week 8 end of day 1. |
| 6.2 2011-12-16 |
Avoiding Liveliness Hazards Deadlock Detection Using the NetBeans Debugger |
handouts slides | |
| 7.1 2011-12-19 |
Performance and scalability | handouts slides | |
| 7.2 2011-12-23 |
Last questions before the Assessments | Some words Fork Join: handouts slides | The assessments will take place in the exam weeks. |
| Assessmentplan PRO3 Jan 2012 | |||
latex beamer sources of the Concurrency slides, export of 20110108.