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


Please Help Members By Posting Answers For Below Questions

Write a program to reverse array in place?

584


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

516


how to create daemon thread in java?

602


What's the difference between an abstract class and interface in java?

553


Define jit compiler?

655






Is main an identifier?

546


When can you say a graph to be a tree?

635


Is age discrete or continuous?

684


What is double in java?

511


Is java a compiler?

563


Define iterator and methods in iterator?

545


Can memory leak in java?

580


What is parameter example?

540


What an i/o filter in java programming?

600


Can interface be private in java?

540