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
Highest level event class of the event-delegation model?
What is command line argument
Where are the local variables stored?
What is overriding in java?
How is Object Oriented Programming different from Procedure Oriented Programming?
How many types of voids are there?
What is difference between path and classpath variables?
Explain oops concepts in detail?
Explain differences between collection api and stream api?
How do you use nextline in java?
What is use of set in java?
Define Multiprogramming and Multiprocessing in java.
Can we create an object of private class?
Why char array is preferred over string for storing password?
How many bytes is a string?