I am looking for some factory pattern examples to learn about them, if you can point me towards some of the examples that would we very helpful.
Here are some links that you will find helpful, they have good factory pattern example and will help you learn it.
Data Access Object Pattern
Complete Hibernate 4 Tutorial
I hope you find these links useful.