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 |
How to determine applet?s height and width?
Hi frnds ,iam new to java and j2ee ,my requirement is using java or any j2eetech how to lock an user when he enter wrong credentials(uname&password) more than 3 times.take the username and passowrd in a bean no need to conned Db kindly provide me sample application code or and ideas or links or tutorials plzzzzz urgent for me thanks in advance...
Is the infobus client side only?
What is serialization and de-serialization ?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
Do I need to import javlang package any time? Why ?
what is the RMI / IIOP?
What is difference between object state and behavior?
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
What is diffennce between AWT & SWING?
What is runnable?
Why does most servlets extend HttpServlet?