What is the difference between DAO and Repository patterns?
What is the difference between Data Access Objects (DAO) and Repository patterns? I am developing an application using Enterprise Java Beans (EJB3), Hibernate ORM as infrastructure, and Domain-Driven Design (DDD) and Test-Driven Development (TDD) as design techniques. 12 s 12 DAO is an abstraction of data persistence. Repository is an abstraction of a collection of … Read more