Just Another Teaching of Software Engineering (2006-07)

This website archives the teaching and learning of a Software Engineering course. It supports teaching and learning during the course of study (September 2006 to May 2007). After the course, it is an archive for reference and sharing.

Tutorial#10 Software Design Patterns

In this tutorial, you will do a practical exercise about Observer design pattern.

You will given a simple program which uses a GUI to display the state about a Person object. You are asked to consider how the Observer design pattern be used to ensure that the simple GUI interface can reflect the most recent state of the Person object.

You also need to write a driver program to verify that what you have done is correct in action.

References:

Observer (Java 2 Platform SE v1.4.2)

Observable (Java 2 Platform SE v1.4.2)

Java Programmer’s SourceBook : Thinking in Java : The observer pattern

Update:

More reference for Observer pattern in Java:

Keeping Objects In Sync

Building Graphical User Interfaces with the MVC Pattern

* * *

No comments yet

Comments RSS

Sorry, the comment form is closed at this time.

All Posts in Category Tutorials

* * *