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
What happens when a thread cannot acquire a lock on an object?
Explain RMI Architecture?
What is a tasks priority and how is it used in scheduling?
What is ripple effect?
When a thread blocks on i/o, what state does it enter?
What is the difference between session and entity beans?
Why are component architectures useful?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
What are the diff types of exception?
What is a sessionfactory? Is it a thread-safe object?
What is the difference between RMI and Corba?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
What is the purpose of the wait() method?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
Explain the different types of memory used by jvm?