GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Java Patterns
Go To First  |  Previous Question  |  Next Question 
 Java Patterns  |  Question 17 of 20    Print  
What is the DAO design pattern

  
Total Answers and Comments: 4 Last Update: September 14, 2009     Asked by: prasannaramudu 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: durgak_javaprof
 
It abstracts the data base access from Java application and makes it portable and dbms independent.

This helps to move to a different RDBMS at any point of time with less amount of changes in Java code

Above answer was rated as good by the following members:
yathirajulu
November 22, 2007 04:48:32   #1  
durgak_javaprof        

RE: What is the DAO design pattern
It abstracts the data base access from Java application and makes it portable and dbms independent.

This helps to move to a different RDBMS at any point of time with less amount of changes in Java code

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 30, 2008 02:23:24   #2  
yathirajulu Member Since: September 2008   Contribution: 1    

RE: What is the DAO design pattern
It is a main role on server-side application and easily to access RDBMS and consume the time & cost reduce the burden on developers. Moreover it is platform indepedent.
 
Is this answer useful? Yes | No
September 10, 2009 07:35:52   #3  
imam.tunduru Member Since: September 2009   Contribution: 2    

RE: What is the DAO design pattern
DAO design pattern is all about providing a unique interface to access data from EIS.
It abstracts the low level data accessing constructs of DB specific and provides an interface hense we can still access data by doing a very less changes in our application when the DB is changed.

 
Is this answer useful? Yes | No
September 14, 2009 02:01:42   #4  
anandps081280 Member Since: September 2009   Contribution: 1    

RE: What is the DAO design pattern
DAO design pattern helps to hide the complex database access and provides the developer the freedom from it. It can be used for single DB or multiple DB based on the design pattern it is implementd. If the DB of the underlying system is not subjected to change Factory pattern can be used but if the underlying DB is changing or there are multiple DB than the Abstract Factory pattern can be used.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape