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 life-cycle of servlets?
Explain the working of service() method of a servlet.
Can we get PrintWriter and ServletOutputStream both in a servlet?
How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSafe is true in JSP so service method will be destroy in each and every request or not?so how thresd will handle srevice method?
How to invoke a Servlet?
What is difference between jsp and servlet?
What are the phases of the servlet life cycle?
What is Servlet Context?
What are some advantages of storing session state in cookies?
What are the life cycle methods of a servlet?
How to pass JavaBeans data to JSP using Servlets?
if u havea .class file ,how can u say whether it is servlet or not ,dont use java decompliler