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

What does i ++ mean in Java?

1004


Why java doesn’t support multiple inheritances?

1107


Write a function to find out longest palindrome in a given string?

1121


When will you define a method as static in Java?

1111


Can we define package statement after import statement in java?

1105


What is the use of default method in interface in java? Explain

1049


Explain the difference between string, stringbuffer and stringbuilder in java?

1059


What is string args [] in java?

1074


What is variable argument in java?

1071


What is linked hashset and its features?

1110


What is the private method modifier?

1142


Differentiate between array list and vector in java.

1157


Write a program to check string is palindrome without using loop?

1092


What is number data type in java?

1072


What is reverse function?

1217