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 / surajkumar.java

Access to data varies depending upon the source of data
(Relational Database, Object Oriented Database, Flat File
and Business to Business integration systems). Such
disparate data sources offer challenges to create a direct
dependency between application code and data access code.
Including the connectivity and data access code within
application code introduces a tight coupling between the
components (JSP, Servlet or Struts Action) and the data
source implementation. Such code dependencies in components
make it difficult and tedious to migrate, the application
from one type of data source to another. Data Access Object
(DAO) makes abstract and encapsulate all access to the data
source. The DAO manages the connection with the data source
to obtain and store data. The DAO acts as an adapter
between the application components (JSP, Servlet or Struts
Action) and the data source.

Is This Answer Correct ?    41 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is assembly in java?

850


Is advanced java and j2ee same?

816


What is front end technology in java?

906


What is the description for expression element?

944


What is considered as a web component?

1002


What is main method in java?

994


What does application client module contain?

942


to update a batch in a table in jdbc which method of statement object is used

2034


What is devops in java?

883


Describe the ear, war, and jar.

862


What are the j2ee client types?

867


What is core java and j2ee?

858


What is the mvc on struts?

855


What is j2ee tutorial?

960


What is pure java?

943