What is the primary advantage of using connection pooling in a web application?
- Ensures security
- Facilitates debugging
- Improves performance
- Reduces memory consumption
Connection pooling in a web application primarily improves performance by reusing existing database connections, reducing the overhead of opening and closing connections frequently.
Loading...
Related Quiz
- To apply multiple filters to a single resource, the web.xml file must define a __________ for each filter.
- The _________ listener is invoked when an attribute is added, removed, or replaced in a session.
- _________ is a technique used to minimize the cost of repeatedly executing similar SQL queries.
-
In the context of filter configuration, what is the purpose of the
tag in web.xml? - How can containerization aid in scaling web applications?