aspose file tools*
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "regarding DAO" Watch "regarding DAO" New topic
Author

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
Hi.

DAO are Data Access Objects,where you actually write data base related statements.like 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.

http://javaboutique.internet.com/tutorials/ApacheDAOs/


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding DAO