• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create and use Connection Pool in JSP

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I would like to know how to create connection pool in JSP.
Heard we can use USEBEAN tag.Somebody said
we have to import some packages called
com.sun.server.*;
com.sun.server.http.*;
I couldn't able to find these packages in Sun site.Could any one of us,help me ?Is there any tutorial sites ? If so please let me know.
Awaiting,
Sundara Pandian R
------------------
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rsunderapandian@hotmail.com",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.
 
R SundaraPandian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank Carver
Sorry I typed in urgency.Ofcourse immedietly I changed the name accordingly.
Sundar
[This message has been edited by R SundaraPandian (edited January 22, 2001).]
 
Randall Twede
Ranch Hand
Posts: 4481
3
Java Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this link if you havent already.
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure what the packages you mention belong too, but my guess is that they belong to SUN's Java web server. Basically, you will need to implement your own connection pooling class, and then you should be able to use this from your JSP page.
-Mirko

Originally posted by rsundarapandian@hotmail.com:
Hi ,
I would like to know how to create connection pool in JSP.
Heard we can use USEBEAN tag.Somebody said
we have to import some packages called
com.sun.server.*;
com.sun.server.http.*;
I couldn't able to find these packages in Sun site.Could any one of us,help me ?Is there any tutorial sites ? If so please let me know.
Awaiting,
Sundara Pandian R

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic