• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to create and use Connection Pool in JSP

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
------------------
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try this link if you havent already.
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


reply
    Bookmark Topic Watch Topic
  • New Topic