pool « Database « JSP-Servlet Q&A





1. Java servlets and database connection pooling    stackoverflow.com

Just looking at examples of connection pooling on the web, they all implement connection pooling on a per servlet basis. So each servlet has its own pool of database connections. ...

2. Manage database connection using connection pool or session. How?    stackoverflow.com

I have a simple task to accomplish, but I am not sure what is the best way to go by. Each user has their own username and password to connect ...

3. servlet connection to DB    stackoverflow.com

Initially, after reading books on the subject, I firmly believed that the algorithm for working with a database from a servlet is as follows: create a connection -> connect to the ...

4. Get database connection from a Connection Pool    stackoverflow.com

I am refactoring others code. The one thing I notice is that of the manner on how the system is getting a connection from the connection pool. Sample is like this. ...

5. How to use connection pool with Tomcat 6 and MySQL?    stackoverflow.com

i'm building a web application and i want to use "Connection Pooling" because of the benefits that came with it. I read some tutorials but i really don't understand what i need ...

6. How to create one database connection per user on a Java Servlet application?    stackoverflow.com

I am working on a website using Java Servlets and my research showed me that it is best to keep one database connection per user (rather than have only one connection ...

7. ConnectionPool throws nullpointer from servletcontext    stackoverflow.com

I have a problem with a ConnectionPool that gets exausted very quickly. Basically i have loaded a listener within the application, whenever the context is initialized, a Timer will start, and a ...

9. DB Connection Pool from javaexchange    coderanch.com





10. jsp database tag to use connection pool object    coderanch.com

I am wanting to use a standard tag library that will allow me to connect to a database using a connection pool object (currently using bitmechanic). The connection pool has been configured in my web.xml file. I have looked at the Jakarta database taglib. This allows Driver Manager, Datasource or JNDI parameters but no connection pool object. I have seen the ...

12. Can I Pool Connections to DB Across JSPs?    coderanch.com

the structure of the pool class usually contains a property, e.g. a collection object, for the connections to be managed. so if a connection pool handling object of this type is saved in the servlet/application context, in a way, the connection objects it contains are also stored into that context. these connection objects will still have to be accessed though via ...

13. Can't use MySQL connection pool?    coderanch.com





17. Can I get a database pool with JNDI?    coderanch.com

19. JCA Connection pool and transactions    coderanch.com