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

how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter)

1 Answers   TCS,


when we applied start()method on a thread ,how does it know that to execute run()method on that object?

2 Answers   HCL,


what is the RMI / IIOP?

3 Answers  


What is a sessionfactory? Is it a thread-safe object?

0 Answers  


Write a program on RMI and JDBC using StoredProcedure?

1 Answers  






Describe responsibilities of Activator?

0 Answers  


If your ui seems to freeze periodically, what might be a likely reason?

0 Answers  


What is synchronization and why is it important?

0 Answers  


What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }

2 Answers   Wipro,


what is singleton class? where it mainly used in the projects?

5 Answers   Satyam, Wipro,


what is Bootstrap loader program?

1 Answers   Rossell Techsys,


What is servlet preinitialization?

3 Answers   iFlex,


Categories