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
When should a function throw an exception?
What are assembly attributes?
What is classname class in java?
What is hash code collision?
What is the use of default method in interface in java? Explain
What is the purpose class.forname method?
What is difference between module and function?
Which class is the superclass of all classes?
What is an immutable object? How do you create one in java?
Is java 1.7 the same as java 7?
What is multithreading in java?
Can we clone singleton object in java?
What are the differences between string, stringbuffer and stringbuilder?
What is the purpose of an interface?
What are methods?