This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Abstract Factory Pattern?

 
Imed Ahras
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys:
i am a bit not clear about with the Abstract Factory Pattern,
It said that the Client interfaces only with the Product interfaces and The Abstract Factory class;
How Is that Gonna Work?
If the Abstract Fatory has 10 implementing concrete class; and How the client is gonna get an instance of The Factory, since it is an abstract, or through a static method, and give it one of the concrete Object(from those concrete classes).
-----
Imed
 
jagadish babu
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Abstract Factory Pattern is to provide an interface for creating families of related Objects without specifying concrete classes"-GOF87
For easy understanding visit http://www.coderanch.com/t/150837/java-Architect-SCEA/certification/Design-Patterns
for all creational patterns.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic