i need connection pooling code.....from
harpreet.your@gmail.com
Answer Posted / nagababu
ic--->Reference of Context
DataSource ds=(DataSource)ic.lookUp("JNDI name");
Connection con=ds.getConnection();
con.close();
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How the servlet is loaded?
Explain load on start-up and its importance?
Is that servlet is pure java object or not?
What is servlet used for?
Difference between java beans & servlets?
What mechanisms are used by a Servlet Container to maintain session information?
How can the referrer and the target urls be used in servlet?
What are life cycle methods of a servlet?
How we can create war file in servlet?
How do you define a servlet?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
How will two or three servlets interact or communicate with each other?
Difference between httpservlet and generic servlets?
How are filters?
What is new in ServletRequest interface ? (Servlet 2.4)