What are Benefits of Connection Pooling?
Answers were Sorted based on User's Feedback
Answer / suraj kumar
1. Connection pooling can improve the response time of any
application that requires connections, especially Web-based
applications.
2. The characteristics of the pool can be changed without
affecting the application (e.g pointing to different vendor's
database (Oracle, MySQL) without changing any code)
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / devender
Point 1 is correct but in point 2 is not satisfactory
because if connection pooling is vendor specific then it
could be on eof the substitute of Hibernate
Is This Answer Correct ? | 1 Yes | 1 No |
what are design patterns in java?give with example?
Explain ioc concept?
what is a non-repeatable read?
Explain about local interfaces.
what is Bootstrap loader program?
difference between Abstract and Interface?
Is multiple try block is possible in single java Application......
What is a sessionfactory? Is it a thread-safe object?
What is the lifecycle of an applet?
How is serialization used generally ?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
Explain the purposes of methods wait(), notify(), notifyAll ()?