I have read the official DAO pattern on the Sun's website. WOW! Good stuff. If you don't understand it that is a good place to start. Is there anyone using the strict DAO Abstract Factory Pattern? Yes? No? Why or why not?
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.ht ml http://java.sun.com/blueprints/patterns/DAO.html Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -----Original Message----- From: J Aaron Farr [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 12:45 PM To: [EMAIL PROTECTED] Subject: RE: DAO and Struts Best Practice Hello all. I've looked at a lot of DAO based projects and I haven't yet found one that I really like. My problem is that often I end up having to access similiar data from very different sources. For example, my current project needs to be able to gather the same data via JDBC, JMS, or static XML files (and down the line, probably SOAP). Most implementations of DAO (or other datasource packages) that I've seen are so SQL oriented that I find I cannot use them. Additionally, the SQL that I do use is often very complex so it's not as simple as just updating rows or columns. Perhaps the problem is that I just don't understand DAO or other packages like JDO or OBJ well enough. That said, I think I go along with option #2 (Instantiated DAO with Method parameters) more often than not. jaaron __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

