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

Why does the option tag render selected=selected instead of just selected?

968


Have you used threads in Servelet?

2226


Why do I get a duplicate name error when loading a jar file?

847


Can you give me a simple example of using the requiredif validator rule?

874


How would you reatach detached objects to a session when the same object has already been loaded into the session?

955


whats is mean by tiles in struts

1892


What classes of exceptions may be caught by a catch clause?

776


How a component can be placed on Windows?

2504


What happens when a thread cannot acquire a lock on an object?

778


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

812


What is synchronization and why is it important?

779


Explain phantom read?

1989


How to deploy Jar, War files in J2EE?

2406


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

827


How substring() method of string class create memory leaks?

791