Connection Pooling with different type of databases?



Connection Pooling with different type of databases?..

Answer / pradeep

u can configure the connection pooling in program..



Javax.naming.IntialContext ic=new
javax.naming.IntitialContext();
javax.sql.Datasource ds=ic.lookup("jndi name");
Connection con=ds.getConnection();

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Advanced Java Interview Questions

What are the states associated in the thread?

3 Answers  


Why do threads block on i/o?

0 Answers  


What is private static final long serialVersionUID = 1L;

3 Answers   Google,


What is servlet preinitialization?

3 Answers   iFlex,


What value does readline() return when it has reached the end of a file?

0 Answers  






What is the difference between Super and This Keyword?

4 Answers   HCL, TCS,


Why won’t the jvm terminate when I close all the application windows?

0 Answers  


diff vector arraylist

4 Answers   Saka Solutions,


whats is mean by object and class?

1 Answers   Saka Solutions,


What is the difference between ear, jar and war file?

0 Answers  


what is difference between checked exception & unchecked exception in java?

3 Answers   Ness Technologies,


What are preemptive scheduling and time slicing and what is the difference between them?

1 Answers  


Categories