Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
DAO - question about

DAO - question about

2005-05-12       - By Steven Randolph

 Back
Reply:     1     2     3     4     5  

Hello Maya,

You might want to take a look at www.realmethods.com.  The code generator would
let you see how DAOs are tied to using Hibernate, which really simplifies
targeting all different types of DB.

Good luck,

Steven
 -- -- Original Message -- --
 From: Maya menon
 To: J2EEPATTERNS-INTEREST@(protected)
 Sent: Thursday, May 12, 2005 12:15 PM
 Subject: DAO - question about


 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)

====================================================================
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)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Maya,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You might want to take a look at <A
href="http://www.realmethods.com">www.realmethods.com</A>.&nbsp; The code
generator would let you see how DAOs are tied to using Hibernate, which really
simplifies targeting all different types of DB.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Good luck,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Steven</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
 <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV>
 <DIV
 style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
 <A title=maya_java@(protected) href="mailto:maya_java@(protected)">Maya menon</A>
 </DIV>
 <DIV style="FONT: 10pt arial"><B>To:</B> <A
 title=J2EEPATTERNS-INTEREST@(protected)
 href="mailto:J2EEPATTERNS-INTEREST@(protected)">J2EEPATTERNS-INTEREST@(protected)
.SUN.COM</A>
 </DIV>
 <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, May 12, 2005 12:15
 PM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> DAO - question about</DIV>
 <DIV><BR></DIV>
 <DIV>Hi,</DIV>
 <DIV>&nbsp;</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>&nbsp;</DIV>
 <DIV>The DAO pattern can be made highly flexible by adopting the Abstract
 Factory [GoF] and the Factory Method [GoF] patterns.</DIV>
 <DIV>&nbsp;</DIV>
 <DIV>Is this&nbsp;a true statement ?</DIV>
 <DIV>My datasource is Oracle and I will be having couple of DAO classes
 specific to actions.</DIV>
 <DIV>&nbsp;</DIV>
 <DIV>Please advice,</DIV>
 <DIV>&nbsp;</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)</BLOCKQUOTE></BODY></HTML>
====================================================================
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)

©2008 junlu.com - Jax Systems, LLC, U.S.A.