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 are cookies and how will you use them?
What is string tokenizer?
What is servlet and list its types?
What are the types of servlets? Explain
When we don't write any constructor for the servlet, how does container create an instance of servlet?
What is the default http method in the servlet?
what is EJB and Java servlet
can we create more than ServletContext and ServletConfig in your application
Can you use javascript in servlets?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What are Servlets?
What is the life-cycle of servlets?