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 is the difference between superclass and subclass?
Is empty set an element of empty set?
What does void * mean?
What is a jit compiler?
Why we used vector class?
What is try-with-resources in java?
What is static data type in java?
What is a consumer in java?
What is a numeric string?
what is a green thread? : Java thread
In java, what is the difference between method overloading and method overriding?
Is it possible to write a regular expression to check if string is a number?
What is unicode full form?
What is the main use of generics in java?
What is java object name?