About Factory Method and Abstract Factory (design pattern)

About Factory Method and Abstract Factory (design pattern)

am 14.11.2007 13:29:14 von Duy Lam

Hi everyone,
Sorry, I don't know what group to post this problem, I think may be this
group is suitable.
I'm styduing DAO (Data Access Object) pattern in this link
http://java.sun.com/blueprints/corej2eepatterns/Patterns/Dat aAccessObject.html.

While I've read about implementing Data Access Objects by Factory Method
Pattern
(http://java.sun.com/blueprints/corej2eepatterns/Patterns/im ages09/figure09_07.gif)
and Abstract Factory Pattern
(http://java.sun.com/blueprints/corej2eepatterns/Patterns/im ages09/figure09_08.gif).
I don't know what is difference things between them, they're seem the
same pattern.
So my question: in this above article, what are difference about these
patterns ?

Sorry about my poor English :)