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

How can we make copy of a java object?

1147


What is pojo class in java?

1091


what is collatration?

3285


What is == in java?

1012


Can a private method be declared as static?

1018


Define linked list and its features with signature?

993


Does java vector allow null?

952


Can you extend singleton class?

1093


What is the use of using enum to declare a constant?

1024


How do you include a string in java?

982


What is collection api?

1042


Explain garbage collection in java?

976


How do you achieve singleton?

973


Is null in java?

998


How do you sort a list in java?

1033