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

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

691


How will you pass parameters in RMI? Why do you serialize?

798


What is an abstract method?

677


What are the purpose of introspection?

795


To what value is a variable of the string type automatically initialized?

734






What is Stream Tokenizer?

1827


Do I have to use jsps with my application?

662


What is the difference between system.out ,system.err and system.in?

685


What is the difference between the session.get() method and the session.load() method?

688


What is the infobus?

696


Difference between hashmap and hashtable?

713


how i secure my site with the https protocol.what are the steps?

1824


How to deploy Jar, War files in J2EE?

2255


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

647


How messaging services are done, before release of JMS?

1680