Discussion Locked

Java servelts

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Maximum how many users can make connection to the database through a servlet at a time ?

7 replies

by sthomas1

The user can configure the maximum and minimum number of connections to the database by creating a connection pool.Please refer http://www.javaexchange.com for a free sample connection pool code. In it u can configure the connection pool for maximumand minimum connections.

by john.mallonee

You may also want to look at your database. I believe that some databases like Oracle have newer JDBC drivers that will manage connection pools for you.

by don_raka

As and addition, there's connection pool class that you can use, available in package javax.sql (you must download J2EE).

This discussion is closed to new replies.