How does connection pooling in servlets optimize database interactions?

  • By caching database query results
  • By establishing a new connection for each request
  • By increasing the size of the database
  • By reusing existing database connections
Connection pooling optimizes database interactions by reusing existing database connections, reducing the overhead of establishing a new connection for each request.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *