  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | DAO - question about | DAO - question about 2005-05-12 - By Maya menon
Back Hi,
I am thinking about using DAO for our project for doing database calls and transactions. While we implement this pattern , shall I need to use factory pattern ? I was reading in Core J2Ee patterns :
The DAO pattern can be made highly flexible by adopting the Abstract Factory [GoF] and the Factory Method [GoF] patterns.
Is this a true statement ? My datasource is Oracle and I will be having couple of DAO classes specific to actions.
Please advice,
-- ---- ---- ---- ---- ---- ----- Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone.
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected) <DIV>Hi,</DIV> <DIV> </DIV> <DIV>I am thinking about using DAO for our project for doing database calls and transactions. While we implement this pattern , shall I need to use factory pattern ? </DIV> <DIV>I was reading in Core J2Ee patterns :</DIV> <DIV> </DIV> <DIV>The DAO pattern can be made highly flexible by adopting the Abstract Factory [GoF] and the Factory Method [GoF] patterns.</DIV> <DIV> </DIV> <DIV>Is this a true statement ?</DIV> <DIV>My datasource is Oracle and I will be having couple of DAO classes specific to actions.</DIV> <DIV> </DIV> <DIV>Please advice,</DIV> <DIV> </DIV><p> <hr size=1>Yahoo! Mail Mobile<br> <a href="http://us.rd.yahoo.com/mail_us/taglines/mobile/*http://mobile.yahoo .com/learn/mail">Take Yahoo! Mail with you!</a> Check email on your mobile phone . ==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |