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 10th 2008
| Week.day | Contents | Slides | Lab Tasks |
| 1.1 2009-11-19 |
Transactions | handouts slides | Relax from the previous exams;-) Then study the links and do the exercises at Java Tutorials Lesson Concurrency |
| 1.2 2009-11-20 |
Thread Safety | handouts slides | Restaurant Task
NL
DE
Initial source-code If you are a bit rusty on threading with Java, rehearse by visiting on of the tutorials on the web. The tutorial at the official 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 2009-11-26 |
|||
| 2.2 2009-11-27 |
Sharing Objects | handouts slides | |
| 3.1 2009-12-03 |
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 2009-12-04 |
|||
| 4.1 2009-12-10 |
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 2009-12-11 |
Task Execution |
handouts
slides
Sequence Diagrams:Future Page Render (with Future interface)Page Renderer(with ExecutorService interface) |
|
| 5.1 2009-12-17 |
Crossing task: see:
A Road To Kill!; with everything you
need for this task. Hand in before week 6 day 1. |
||
| 5.2 2009-12-18 |
Cancellation and Shutdown | handouts slides | |
| 6.1 2010-01-07 |
Applying Thread Pools | handout slides |
Planner
Puzzle
Organize yourselves in groups in your standard groups. Let us know the group composition so that we can create a repository for those groups. Hand in before the end of week 7 end of day 2. |
| 6.2 2010-01-08 |
Avoiding Liveliness Hazards Deadlock Detection Using the NetBeans Debugger |
handouts slides | |
| 7.1 2010-01-14 |
Performance and scalability | handouts slides | |
| 7.2 2010-01-15 |
Last questions before the Assessments | Last questions before the Assessments | The assessments will take place in the exam weeks. |
| Assessmentplan PRO3 Jan 2010 | |||
| Resit plan PRO3 Mar 2010 | |||
latex beamer sources of the Concurrency slides, export of 20090108.