View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Discussion 2 - Nick Bowman

Part 1:
http://www.dofactory.com/Patterns/Patterns.aspx

The creational pattern is used to make objects in your
program. This keeps the programmer from hard coding
objects in a program.

Structural patterns are used to link classes an objects
and to combine them to form “structures”. They can be
used to form GUIS and interfaces that require more than
one class and requires seamless integration.

Behavioral patterns are used to link or talk to a number
of classes/objects and manage what flows or what needs
to flow back and forth.

Part 2:
http://www.javaworld.com/javaworld/jw-04-2003/jw-0425-designpatterns.html

I chose the singleton design pattern. This pattern is
interesting simply because there can only be on instance
of this class at a time. There are several advantages
when using singleton to guarantee that only one instance
is created. This could be used in GUI’s such as only
having the one mouse pointer or only having one exit or
entrance point or gateway controlling where traffic flows.

Links to this Page