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

Why are constructors used?

1025


What is byte code and why is it important to java’s use for internet programming?

1134


How do you reverse a list?

1012


What is string in java?

1018


What is JVM and is it platform independent?

1053


How many digits can a float hold?

1013


how to create daemon thread in java?

1080


What is a treeset class?

1012


What are the access modifiers in java?

1041


How do you convert int to char in java?

1074


Is string is a keyword in java?

978


What are some characteristics of interference class?

997


How do you sort in descending order in java using collections sort?

898


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

1073


what are the high-level thread states? : Java thread

1024