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

What is boolean logic?

571


What happens when a thrown exception is not handled?

586


What is tree in java?

498


what is thread in Java ?

633


What is cr keyboard?

661






Differece between class and generic class?

568


What is bytecode in java ?

616


Can we inherit a class with private constructor?

582


What is the major drawback of internal iteration over external iteration?

591


What is difference between jdk,jre and jvm?

577


What is the largest data type in java?

517


how to create multithreaded program? Explain different ways of using thread? : Java thread

541


What is the abstract class?

603


What's the base class of all exception classes?

569


Are arrays dynamic in java?

541