File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Factory design pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Factory design pattern" Watch "Factory design pattern" New topic

Factory design pattern

sunil antil

Joined: Jul 23, 2009
Posts: 20
Hi All

I just fineshed the Factory design pattern from Head First Desgin pattern, I understand its example and technique how to implement it, can some tell me a parctical example where the factory desgin pattern is used while devloping a software.
I just need a technical example which cover Factory Method Desgin pattern!

Please also tell me different falavour's of Factory desgin pattern like one is Factory "Method Desgin pattern"

Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3054

There is a useful examples from the JDK which cover different design patterns.

Mohamed Sanaulla | My Blog
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Logging frameworks is also one scenario where you mostly find implementation of factory pattern.
I agree. Here's the link:
subject: Factory design pattern
Similar Threads
Design Patterns -SCEA
Encapsulate Classes with Factory
Design Patterns...
Abstract Factory and Factory Method
factory method pattern