Design Patterns: Factories VS Abstract Factories

Discussion in 'Java' started by tim@nocomment.com, Oct 2, 2006.

  1. Guest

    What is the difference between Factories and Abstract Factories? Is the
    Abstract Factory just the defined Abstract Class with its Abstract
    Methods?
     
    , Oct 2, 2006
    #1
    1. Advertising

  2. Oliver Wong Guest

    "" <> wrote in message
    news:...
    > 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
     
    Oliver Wong, Oct 2, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DaKoadMunky
    Replies:
    4
    Views:
    557
    Lee Weiner
    Apr 20, 2004
  2. Matthias Kaeppler
    Replies:
    1
    Views:
    457
    R.F. Pels
    May 22, 2005
  3. crichmon
    Replies:
    4
    Views:
    497
    Mabden
    Jul 7, 2004
  4. Tim Smith
    Replies:
    2
    Views:
    864
    Tim Smith
    Dec 15, 2004
  5. John
    Replies:
    0
    Views:
    605
Loading...

Share This Page