Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best way to get database connection

 
Mariya Antony christopher
Ranch Hand
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is the best way to get database connection such as

driver name
Url,usernmae,password

i
 
Mariya Antony christopher
Ranch Hand
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mariya Antony christopher wrote:Which is the best way to get database connection such as

driver name
Url,usernmae,password



Which is best way to implement database connection by
connection pooling
Jdbc connection
 
Piyush Mangal
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to reinvent the wheel. You already have them implemented for you http://java-source.net/open-source/connection-pools
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic