Hi azhar,
Originally posted by azhar bharat:
Is there any valid reasons to use DAO, now that we have JPA and other orm tools.
Is there any advantage of using DAO?
Just to make things a bit tangible.
DAO is a design pattern. JPA is a specification.Hibernate (ORM tool as you say) is an implementation of JPA. The DAO pattern still plays the same important role in a
Java EE 5 environment as it did before. No change here
.
See more here:
Sun's Blueprint about the DAO Core J2EE Patterns and
Generic Data Access Objects Regards,
Darya