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
Is the milky way in a void?
What are the different approaches to implement a function to generate a random number?
What is a war file?
What is the difference between array list and vector in java?
Where is the singleton class used?
What is the mapping mechanism used by java to identify IDL language?
Why isn’t there operator overloading?
What is the replace tool?
Why should we use singleton pattern instead of static class?
Why we use methods in java?
What is the use of 'super' keyword inside a constructor?
What is the simpletimezone class in java programming?
What does pointer mean?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
What is singleton class in ruby?