File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between Simple Factory pattern and Factory Method pattern
 
Similar Threads
Difference between Factory method pattern and dynamic polymorphism
Abstract Factory pattern
confused with Design patterns
Difference between Abstract Factory and Builder Pattern
design patterns