The moose likes Struts and the fly likes data  from DB to DAO to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "data  from DB to DAO to jsp" Watch "data  from DB to DAO to jsp" New topic

data from DB to DAO to jsp

prasanna pati
Ranch Hand

Joined: Jan 29, 2005
Posts: 46
In struts based projects , a data-access-object has the direct connection with the database . but which class accesses the DAO ?
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29287

The DAO should be called by the Action or a wrapper class that the Action calls.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: data from DB to DAO to jsp
Similar Threads
What exactly is a data-tier
Using a Bean for Retrieving Results Sets - Best Approach
Spring + hibernate - Transaction management
Master DAO or many DAOs ?