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


Please Help Members By Posting Answers For Below Questions

What is size of int in java?

543


What is a parameter used for?

512


Why is a string immutable?

540


What are Normalization Rules? Define Normalization?

548


What is Applet Stub Interface ?

1962






Is intellij better than eclipse?

537


What is gui programming?

514


What is string length in java?

488


Have you ever used hashtable and dictionary?

569


Does collectionutils isempty check for null?

807


What is string substring?

557


What are voids?

530


What is early binding and late binding in java?

591


Can a class be a super class and a sub-class at the same time? Give example.

794


What does split function do in java?

530