Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why do we use DAO?

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


Please Help Members By Posting Answers For Below Questions

What is callback methods Component methods called by the container to notify the component of important events in its life cycle?

950


What is j2ee component?

1064


What software is needed for java programming?

852


Which is best eclipse for java?

894


What do you understand by j2ee?

946


Why java is oop language?

935


Why is java called object oriented?

975


What is javac written?

926


What is interpreter in java?

847


What is java 2 platform, standard edition (j2se)?

1026


Which is latest technology in java?

956


What is urn?

917


What do you understand by a thin client?

988


What is ejb module?

972


What are the components of the java platform?

957