






Hotspots: Admin Pages | Turn-in Site |
Current Links: Case 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
- Nick Bowman last edited on 9 October 2005 at 5:48 pm by r56h40.res.gatech.edu
- Fall 2005 Discussion 2 last edited on 3 October 2005 at 4:29 pm by adsl-068-209-116-021.sip.asm.bellsouth.net