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
What is callback methods Component methods called by the container to notify the component of important events in its life cycle?
What is j2ee component?
What software is needed for java programming?
Which is best eclipse for java?
What do you understand by j2ee?
Why java is oop language?
Why is java called object oriented?
What is javac written?
What is interpreter in java?
What is java 2 platform, standard edition (j2se)?
Which is latest technology in java?
What is urn?
What do you understand by a thin client?
What is ejb module?
What are the components of the java platform?