How do you create connections for number of users, if you
want to improve performance?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the <load-on-startup> element?
How to pass session values from one servlet container to another servlet container? or how can we get session values of one container in another container?
How can an existing session be invalidated?
Name the different ways of session tracking.
Is the init(ServletConfig sc) throws IOException or not?
How do I use cookies to store session state on the client?
What are the benefits of using servlet over cgi?
What is pure servlet?
What are the advantages of servlets over traditional cgi?
How is a servlet implemented in code?
What is the difference between sendredirect() and forward() in a servlet?
Explain the difference between servletconfig and servletcontext in servlet?