Patterns in two howm brewn applications
For two courses we made a gui based aplication in Java. These are the
crossing for concurrency (part of PRO3-2008) and the slotmachine, used in
the module SEN1 for the assessment.
The task is to identify and describe the patterns used. In the
description identify collaborating classes/objects and their role in
the pattern.
Execution of the task.
- get the sources at the
websites: crossing
and slotmachine
- Build the sources and the api doc from the sources.
- Study sources (maybe reverse engineer with Visual Paradigm) and
find the patterns, participants and roles.
The intention is to find the patterns used and to describe the roles of the
classes that participate in the pattern instance.
Classes in a design are quite often participant in more then one pattern. The
typically have a different role in each of such patterns.
For instance: A JPanel in Java is a Component in the Composite
Patterns. LayoutManager is the Strategy Abstract class in a Strategy
pattern, where the client class (the one to be layed out) would be
the aforementioned JPanel.
- Hand in format: a report, preferably in pdf format.
Deadline: see peerweb