- Code illustrating threads:
- Thread2.java: illustrates using
threads and what happens if they are not synchronized
- Code illustrating subject/observer (or
publish/subscribe): wk4-observer.zip
- Decorator
pattern: decorator_initial.zip
- Bare bones command pattern: pbook.zip
See pbook/PhoneBook.java for instructions running the tests from
the command prompt. This version has no interface.
- Full phonebook with
GUI: myphonebook.zip
This version supports adding and removing entries along with undo and redo.
("yap" = "Yet Another Phonebook")
- RMI Example: illustrates using RMI to increment a
simple counter remotely.
- TicTacToe RMI Example: illustrates using RMI
on a more complex example.