File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes regarding DAO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "regarding DAO" Watch "regarding DAO" New topic

regarding DAO

yekkala krishna
Ranch Hand

Joined: Mar 04, 2007
Posts: 105
Hi guys,

I am having little knowledge regarding DAO's.
I know that it is useful to connect to databases from our application.
But i want clear idea regarding this DAO's.
sreenivas jeenor
Ranch Hand

Joined: Jan 09, 2005
Posts: 125

DAO are Data Access Objects,where you actually write data base related creating a connection,executing query etc.

you have to use this DAO object in your Action Class.
This makes a clear separation of having business layer in your application.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The link below has a pretty good example of using a DAO in a Struts application.

Consultant, Sima Solutions
I agree. Here's the link:
subject: regarding DAO
jQuery in Action, 3rd edition