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 are meta-annotations?
How a variable is stored in memory?
Explain tree set and its features?
What are different types of references?
Why synchronization is important in java?
What are the restriction imposed on a static method or a static block of code?
What should I import for arraylist in java?
Is null an object in java?
Can we convert list to set in java?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
Why parameters should be passed by reference?
what are three ways in which a thread can enter the waiting state? : Java thread
What is the use of keywords in java?
Describe how to implement singleton design pattern in struts.
What is the += operator called?