File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Strategy pattern vs Factory pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Strategy pattern vs Factory pattern" Watch "Strategy pattern vs Factory pattern" New topic

Strategy pattern vs Factory pattern

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 606
Both are used for choose a solution, What are difference between them?
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 10916

have you tried reading about them anywhere, such as on the wikipedia? That's where I'd start

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I agree. Here's the link:
subject: Strategy pattern vs Factory pattern
Similar Threads
Observer Pattern
refresh modal dialog box
MVC tutorial Head First
WA #1.....word association
Local or Network based connection