• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implement Datasource

 
Atul Mishra
Ranch Hand
Posts: 140
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

What is a best way to implement the datasource ? I use tomcat 5.0 and have configured datasource in the server. I am using DAO pattern 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.

Thanks
 
Scott Ambler
author
Ranch Hand
Posts: 608
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
www.agiledata.org has some good material on how to interact with databases.

- Scott
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic