aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Difference between Simple Factory pattern and Factory Method pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Difference between Simple Factory pattern and Factory Method pattern" Watch "Difference between Simple Factory pattern and Factory Method pattern" New topic
Author

Difference between Simple Factory pattern and Factory Method pattern

Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
I need to know what is the difference between Simple Factory pattern and Factory Method pattern?
And also would be helpful, if any good site is suggested regarding,
different types of patterns with examples.
thanks in advance.
Roger Zacharias
Ranch Hand

Joined: Jul 01, 2003
Posts: 49
>I need to know what is the difference between Simple Factory pattern and
>Factory Method pattern?
>And also would be helpful, if any good site is suggested regarding,
>different types of patterns with examples.
Hi,
I only know the Factory Method and the Abstract Factory.
Both hide object creation. Factory Method creates products depending on arbitrary parameters and Abstract Factory creates product families, i.e. this factory can create factories.
OK?
Roger


SCEA
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Difference between Simple Factory pattern and Factory Method pattern