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
Why do we need a constructor in a servlet if we use the init method?
How do you design microservices?
What is a server side include (ssi)
What is servlet in web technology?
Define declaration.
What is the difference between Server and Container?
How can we create deadlock situation in servlet?
What is Client-Server Computing?
What do you mean by singlethreadmodel interface?
How is the get () method different from the post() method?
How can the session in servlet can be destroyed?
Is java servlet still used?
What methods do you use in servlet - applet communication?
What is a deployment descriptor?
how the HTML data stored in web server?