aspose file tools*
The moose likes JDBC and the fly likes How to use datasource to connect to db2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to use datasource to connect to db2" Watch "How to use datasource to connect to db2" New topic
Author

How to use datasource to connect to db2

Abed Rabie
Ranch Hand

Joined: Jun 24, 2003
Posts: 74
Dear All,

Can anyone tell me how to use connection pooling and datasource to connect to db2 or any database. Any good links or resources will be good from u.

Thanks and best regards


Abed Rabie
Sajan Patel
Ranch Hand

Joined: Oct 25, 2004
Posts: 77
Hi,

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

I am using TomCat and this site was very useful for me

Hope it help you,
Abed Rabie
Ranch Hand

Joined: Jun 24, 2003
Posts: 74
Dear friend,

thx alot. may u recommend any books for me or this link is enough.
Sajan Patel
Ranch Hand

Joined: Oct 25, 2004
Posts: 77
sorry, I dont know any books. I use data source for get DB connection and it required three line of code change in my java file so I never worried to know much.
Abed Rabie
Ranch Hand

Joined: Jun 24, 2003
Posts: 74
Dear Friend,

May you can send to me snippet of this code if this is applicable ??

Thanks and best regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use datasource to connect to db2
 
Similar Threads
WAS 5 Remote Database Access
connect to DB2 database
Urgent:Datasource
jdbc connectivity for db2
cannot connect to database