Answer Posted / sanjay kumar singh
If i want to hide the persistence logic from other
components and reduce the direct dependency to implement
flexible system with less maintenance in future then we use DAO.
Using DAO to encapsulates all access to the persistence
store and regardless what type of data store you used DAO
provide uniform API to its client.
DAO completely hides the data store implementation from its
client.
When data store implementation is changed, no modification
is required in the clients of DAO because DAO will be
exposed to the client as an interface which will not be
changed. Only changes is its DAOimplementation.
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
Why is j2ee needed?
What do you mean by the deployment descriptor?
What is containers in java?
Define orm and its working in j2ee?
What is certificate authority?
What is layout manager in java?
What is event handling in java?
What is javafx java?
What is jetty in java?
What is the container?
What is java transaction api (jta)?
What is basic authentication?
What is form-based authentication?
Is string a primitive data type in java?
What is a thin client?