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
Why are constructors used?
What is byte code and why is it important to java’s use for internet programming?
How do you reverse a list?
What is string in java?
What is JVM and is it platform independent?
How many digits can a float hold?
how to create daemon thread in java?
What is a treeset class?
What are the access modifiers in java?
How do you convert int to char in java?
Is string is a keyword in java?
What are some characteristics of interference class?
How do you sort in descending order in java using collections sort?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
what are the high-level thread states? : Java thread