Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Design Patterns: Factories VS Abstract Factories

Reply
Thread Tools

Design Patterns: Factories VS Abstract Factories

 
 
tim@nocomment.com
Guest
Posts: n/a
 
      10-02-2006
What is the difference between Factories and Abstract Factories? Is the
Abstract Factory just the defined Abstract Class with its Abstract
Methods?

 
Reply With Quote
 
 
 
 
Oliver Wong
Guest
Posts: n/a
 
      10-02-2006
"" <> wrote in message
news: ps.com...
> What is the difference between Factories and Abstract Factories? Is the
> Abstract Factory just the defined Abstract Class with its Abstract
> Methods?
>


As the name implies, an the difference between Factories and Abstract
Factories is that the factories are abstract in the latter, whereas they are
typically concrete in the former.

Usually with Abstract Factory, you'll have a "root" factory which
produces the abstract factory, which produces the actual objects you're
interested in.

- Oliver


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Abstract Methods & Abstract Class Iyer, Prasad C Python 0 10-20-2005 06:35 AM
About abstract class and abstract method Sameer Java 4 08-31-2005 12:59 AM
Deriving abstract class from non-abstract class Matthias Kaeppler Java 1 05-22-2005 01:28 PM
Abstract class with no abstract functions Uzytkownik C++ 3 04-03-2005 05:45 PM
Abstract Classes w/o abstract methods DaKoadMunky Java 4 04-20-2004 04:53 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57