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...

What Method and class used for Connection pooling ?

Answer Posted / dsr

contex ic = new InitialContext();
DataSource sd = (datasource)ic.lookup("poolname");
Connection con = ds.getConnection();

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Highest level event class of the event-delegation model?

3969


What is command line argument

1167


Where are the local variables stored?

1029


What is overriding in java?

1008


How is Object Oriented Programming different from Procedure Oriented Programming?

1001


How many types of voids are there?

937


What is difference between path and classpath variables?

1051


Explain oops concepts in detail?

976


Explain differences between collection api and stream api?

1105


How do you use nextline in java?

917


What is use of set in java?

947


Define Multiprogramming and Multiprocessing in java.

1077


Can we create an object of private class?

924


Why char array is preferred over string for storing password?

1052


How many bytes is a string?

1098