File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
OO, Patterns, UML and Refactoring
Joined: Jun 08, 2006
Sep 14, 2006 14:24:00
What is a best way to implement the datasource ? I use
5.0 and have configured datasource in the server. I am using DAO
to interact with the client.
Now my DAO should call database specific classes which obtains a connection from the datasource I implemented in Tomcat.
Which way/pattern should I use ? Is there a preferred implementation for a datasource[like a factory or something]
Please suggest me some good links of reading.
Joined: Dec 12, 2003
Sep 27, 2006 18:57:00
has some good material on how to interact with databases.
<a href="http://www-306.ibm.com/software/rational/bios/ambler.html" target="_blank" rel="nofollow">Scott W. Ambler</a><br />Practice Leader Agile Development, IBM Rational<br /> <br />Now available: <a href="http://www.ambysoft.com/books/refactoringDatabases.html" target="_blank" rel="nofollow">Refactoring Databases: Evolutionary Database Design</a>
subject: Implement Datasource
Resource for designing persistence layer
DAOs and Datasources
Java beans + JDBC
MVC or DAO?
Provided data file and 48-hour rule!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014