This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection Pool for JSP---Urgent  RSS feed

 
Ved Antani
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been trying to find out a suitable Connection Pool for my JSP project.
Please give me some good source where I can just use the existing code...does Java provide such facility ?
Please inform me soon
Thanks....Java Lives...;-)
Ved
 
Sasi Kumar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Most of the servers have inbuild connection
pool. You can get the connection by
creating a datasource in the server.
If you are using struts framework you can
use the connection pool written in struts.
See struts-config.xml where you can define
you datasource
 
Ramesh Ch
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try bitmechanic connection pool and can be found at http://www.bitmechanic.com/
 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use a changed version from the one that is in the book available at: CoreServlets book
I think you can use the ConnectionPool in there for JSPs, I only use Database connections from inside the JavaBeans (The business Logic).
Yours,
Mark Monster
 
senthil sen
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi monster,well can u tell me how u do the connection in the java bean,with the code will be better and whats its advantage...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!