What Method and class used for Connection pooling ?
Answer Posted / therathna
first to get the Context object by using given bellow
Context ic=new InitialContext();
And get DataSource object by using ic.lookup(conncetionpool
name)
your question is not proper way
DataSource Class & getConnection method is used
connection pool
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between stringbuffer and stringbuilder?
How do you sort a string in java?
Explain about automatic type conversion in java?
Do you know why doesn't the java library use a randomized version of quicksort?
Is singleton thread safe in java?
Which sort is best in java?
What do you mean by append?
Why is java not 100% pure oops?
what do you mean by marker interface in java?
What is pojo class in java?
What is getclass () getname () in java?
What is parseint?
What is the return type of the main method?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Explain importance of finally block in java?