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
Describe some assignments that are executed by servlet container?
When servlet object is created?
What are its drawbacks of cgi?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Can we get PrintWriter and ServletOutputStream both in a servlet?
How to get the path of servlet in the server?
What is the difference between CGI and Servlet?
What are the steps involved in placing a servlet within a package?
what is servlet chaining?
If servlet receives multiple requests, how many objects will it create?
Write all the phases defined in servlet life cycle?
What do you mean by annotations in servlet?
What is the use of servlet wrapper classes?
Explain how does JSP handle run-time exceptions?
What are the uses of servlets?