my dog learned polymorphism
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
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: 3152

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
jQuery in Action, 3rd edition