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 servlet context ?

4 Answers  


What are the parameters of the service method ?

2 Answers  


Explain jsessionid and when is it created?

0 Answers  


What type of protocols are used in HttpServlet?

3 Answers  


Can servlet have a constructor ?

0 Answers  


How do you define a servlet?

0 Answers  


How a servlet is unloaded?

0 Answers  


What is the difference in between the httpservlet and generic servlet?

0 Answers  


How servlet is created?

0 Answers  


Write a program to show the functionality of servlets.

0 Answers  


Is it possible to send a mail from a servlet? Explain?

4 Answers  


Explain how to improve Servlet Performance?

0 Answers   BirlaSoft,


Categories