Connection Pooling with different type of databases?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Brief description about local interfaces?

951


What is the argument type of a programs main() method?

852


What are the services in RMI ?

2115


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2460


What is meant by method chaining?

921


What class is used to create Server side object ?

1967


What is a class loader?

1068


What are the diff types of exception?

796


What is message driven beam?

823


What is metaspace?

806


What is a class loader? What are the different class loaders used by jvm?

856


What is in-memory replication?

806


What are the different approaches to represent an inheritance hierarchy?

857


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2804


What is the difference between RMI and Corba?

2522