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 / therathna

first to get the Context object by using given bellow

Context ic=new InitialContext();

And get DataSource object by using ic.lookup(conncetionpool
name)



your question is not proper way


DataSource Class & getConnection method is used
connection pool

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use string in the switch case?

1043


What is unmodifiable list in java?

964


What is singleton class in java and how can we make a class singleton?

1165


What is the purpose of the strictfp keyword?

1164


What are the disadvantages of using inner classes?

1186


Can you instantiate the math class in Java?

1093


What do you mean by constructor?

983


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

983


How to create an immutable class?

1112


Define Multiprogramming and Multiprocessing in java.

1155


Explain the differences between static and dynamic variables?

1153


What is the purpose of extern variable?

1018


What is a finally block? Is there a case when finally will not execute?

1085


What is nested top-level class?

1040


What is meant by distributed application? Why are we using that in our application?

947