This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes def of DAO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "def of DAO" Watch "def of DAO" New topic

def of DAO

raghuram bikkani

Joined: Jan 18, 2006
Posts: 16
WHAT IS THE meant by of DAO
Dave Tuttle
Ranch Hand

Joined: Jan 18, 2006
Posts: 34
Data Access Object. It's a common design pattern.
sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104
DAO stands for Data Access Object, which contains all data base related methods.

For example you want get the list of employees from Data base.

class EmpDAO{
public ArrayList getEmployees(){
//Query to get all employees
//Keep the data in ValueObjects
//Add the valueobjects to ArrayList
return theArrayList


This design pattern helps to separates the database related code and presentation/application code.

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: def of DAO
It's not a secret anymore!