Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
8 user(s) are online (6 user(s) are browsing encyclopedia)

Members: 0
Guests: 8

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Data Access Object

In computer software, a Data Access Object (DAO) is a software component which provides a common Interface (computer science) between the Application software and one or more data storage devices, such as a Database or Computer file. The term is most frequently applied to the Data Access Object Design pattern (computer science).

= Why use Data Access Objects =

Data Access Objects are considered best practice. They are a Core J2EE Design Pattern. The advantage of using data access objects is that any Business object (computer science) (which contains application or operation specific details) does not require direct knowledge of the final destination for the information it manipulates. As a result, if it is necessary to change where or how that data is stored that modification can be made without needing to change the main application.

Data Access Objects can be used in Java to insulate an application from the underlying Java persistence technology, which could be JDBC, JDO, EJB CMP, Hibernate, iBatis, or any one of a range of technologies. Using Data Access Objects means the underlying technology can be upgraded or swapped without changing other parts of the application.

== External links ==

  • [http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html Core J2EE Patterns - Data Access Object]
  • [http://www.codefutures.com/data-access-object Data Access Object and Code Generation]