Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


i need connection pooling code.....from
harpreet.your@gmail.com



i need connection pooling code.....from harpreet.your@gmail.com..

Answer / 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

More Servlets Interview Questions

What is the ServletConfig() and what is its use?

4 Answers   Google,


How the JSP file will be executed on the Server side?

0 Answers   Cap Gemini,


Why do we need servlet filter?

0 Answers  


What is the procedure for initializing a servlet?

0 Answers  


What do you mean by httpservlet?

0 Answers  


How servlets can be automatically reloaded?

3 Answers  


Difference between Include, Forward and sendRedirect in Servlet?

7 Answers   AZTEC, KPIT, TCS,


What are some advantages of storing session state in cookies?

0 Answers  


Can I override destroy() method of Servlets?

4 Answers   Accenture,


Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?

7 Answers  


how the HTML data stored in web server?

0 Answers   TCS,


How do you configure a centralized error handler in servlets?

0 Answers  


Categories