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
Can we use string in the switch case?
What is unmodifiable list in java?
What is singleton class in java and how can we make a class singleton?
What is the purpose of the strictfp keyword?
What are the disadvantages of using inner classes?
Can you instantiate the math class in Java?
What do you mean by constructor?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
How to create an immutable class?
Define Multiprogramming and Multiprocessing in java.
Explain the differences between static and dynamic variables?
What is the purpose of extern variable?
What is a finally block? Is there a case when finally will not execute?
What is nested top-level class?
What is meant by distributed application? Why are we using that in our application?