Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use datasource to connect to db2

 
Abed Rabie
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sajan Patel
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friend,

thx alot. may u recommend any books for me or this link is enough.
 
Sajan Patel
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friend,

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

Thanks and best regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic