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
What does i ++ mean in Java?
Why java doesn’t support multiple inheritances?
Write a function to find out longest palindrome in a given string?
When will you define a method as static in Java?
Can we define package statement after import statement in java?
What is the use of default method in interface in java? Explain
Explain the difference between string, stringbuffer and stringbuilder in java?
What is string args [] in java?
What is variable argument in java?
What is linked hashset and its features?
What is the private method modifier?
Differentiate between array list and vector in java.
Write a program to check string is palindrome without using loop?
What is number data type in java?
What is reverse function?