wood burning stoves 2.0*
The moose likes JDBC and the fly likes DAO Pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DAO Pattern" Watch "DAO Pattern" New topic
Author

DAO Pattern

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
Hi,

What is DAO Pattern? I want to learn the DAO Pattern. Any simple tutorial for beginners other than the sun site. Please provide sample/example coding of what is DAO Pattern.

I think DAO Pattern is used for Database. If I want to add a employee ID and Employee name into the database. How to design this simple thing in the DAO Pattern. What are the advantages of using DAO Pattern. Please give me some direction in it.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Mark Henryson:
What is DAO Pattern? I want to learn the DAO Pattern. Any simple tutorial for beginners other than the sun site. Please provide sample/example coding of what is DAO Pattern.

Data Access Object


I think DAO Pattern is used for Database.


Yes, thats why it is less related to servlet.
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
In the Hibernate literature, they seem to like to refer to it as the DAO anti-pattern


There is no emoticon for what I am feeling!
Dave Tuttle
Ranch Hand

Joined: Jan 18, 2006
Posts: 34
Go to the source: http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
(first hit on google search).
--Dave
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61238
    
  66

Dave, it's really not necessary to post a link that's already been posted.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DAO Pattern