Technical University of Denmark DTU
02115   Java Programming
Autumn 2011

Week plan #6

For the week   3. October - 7. October


Preparations for the week

The primary subject of today is how to design and develop an application. First, a cinema booking system is investigated in Chapter 13 of the BK textbook, and next week a case study in Chapter 14 is considered.

The mandatory assignment is related to the subject of Chapter 13.


I think it's a good idea to study in detail the class structure, the responsibilities of each class, the chosen data structures and how the classes work together in the two projects foxes-and-rabbits (Chapter 10) and address-book (Chapter 12).

By solving the mandatory assignment you make the final steps towards being able to develop well structured applications like the above mentioned two projects. And not to forget: Write a documentation of the work carried out, including testing.



The lectures

We will cover selected parts of the BK textbook, primarily the following parts:
  - Chapter 12, pages 407-423
  - Chapter 13, pages 424-443



Exercises at the PC's

Exercises are taken solely from the BK textbook:



After the lectures

In the light of the requirements to a solution of the mandatory assignment find out about your needs to strengthen your knowledge and skills where appropriate.

The lectures last week and this week has also taken examples of the PS textbook to supply sections 12.4 - 12.10 of the BK textbook. E.g. section 12.4.5 is useful: On how to avoid creating objects when the parameter values given to a constructor does not make sense.
And what about object serialization ? (supply with PS section 23.12)

Follow up from the BK textbook what's needed, for Chapter 12 look at:



Besides the above mentioned sections of the PS textbook read the following sections:

The PS lecture examples from last week were Example 89, Example 80 (refer to the ready-to-run example program), and Example 90


Jens Thyge Kristensen, Email: jtk@imm.dtu.dk

Newest edition:   30. September (minor textual corrections)
Previous editions:
    - 27. September