How do you create connections for number of users, if you
want to improve performance?
Answer Posted / sachin s
YES, Just to add, what connection pooling is....In
connection pooling, after a connection is created, it is
placed in the pool and it is used over again so that a new
connection does not have to be established. If all the
connections are being used, a new connection is made and is
added to the pool. Connection pooling also cuts down on the
amount of time a user must wait to establish a connection
to the database.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you mean by cgi and what are its drawbacks?
Write a program to show the functionality of servlets.
Explain the difference between get and post method in servlet?
How to make sure a servlet is loaded at the application startup?
How can you use a servlet to generate a plain text instead of html?
How will two or three servlets interact or communicate with each other?
What are the phases of a servlet life cycle?
Explain the working of service() method of a servlet.
How to find whether a parameter exists in the request object?
Difference between java beans & servlets?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Describe in brief RequestDespatcher?
How we can call a jsp from the servlet?
What are life cycle methods of a servlet?
Why HttpServlet class is declared abstract?