Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection Pool for JSP---Urgent

 
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...
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!