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

Why are http servlets used in programming?

0 Answers  


What is difference between PrintWriter and ServletOutputStream?

0 Answers  


What is the default HttpRequest method?

6 Answers  


Given the request path below, which are context path, servlet path and path info?

0 Answers  


Explain their methods? Tell me their parameter names also have you used threads in servlet?

0 Answers  


What is the difference between get and post methods?

0 Answers  


Can a servlet be called by passing its name as a parameter in the URL?

1 Answers   iFlex,


What are the uses of servlet and what is servlet chaining?

0 Answers  


Which HTTP method is non-idempotent?

0 Answers  


Name the packages that work with servlet?

0 Answers  


What is Generic Servlet and how it is different from Http Servlet?

5 Answers   Wipro,


What are the benefits of using servlet over cgi?

0 Answers  


Categories