What is the importance in context in JDBC connection pools?

Answer Posted / rohit

Whenever the new request comes for thr connection with the
database we do not create the new connection object instead
of that we keep the bunch of connection in apool called
connection pool.
when new request for the database, new coonection
will come out from this poool & when this req is over
connection goes back to the pool

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does method mean?

512


Write a program to print the pattern given below

493


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

585


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

557


What is polymorphism in java? What are the kinds of polymorphism?

574






What is sorting in java?

530


What is the difference between sleep and wait in java?

509


Write a program in java to establish a connection between client and server?

503


What is finalize method?

573


List implementations of list interface?

559


When can we say that threads are not lightweight process in java?

588


Explain about complier design(phases)

626


Can we declare main () method as non static?

518


Why is singleton instance static?

503


How many types of literals are there in JAVA?

591