Can someone illustrate what really is the difference between the two?
|------------------------|
| (------) |
| (ClassA) |
| (------) |
| (-----------) |
| ((Singleton)) |
| (-----------) |
| (---------) |
| ((Factory)) |
| (---------) |
| |
| |
|------------------------|
Legend:
|---| Framework
(---) Class
() Design Pattern
A framework is a set of related classes to perform a certain task. Those classes may or may not implement a certain design pattern.