What is the importance in context in JDBC connection pools?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / poorna chandar rao.yerrabothu
in jdbc connection there is a one importent problem the
problem is creattion of jdbc connection thats why jdbc
coonection pooling
| Is This Answer Correct ? | 0 Yes | 3 No |
What is the collection interface?
What is pangram in java?
What is nested loop? What is dangling else condition in it?
Java is pass by value or pass by reference? Explain
different types of threads?
interface X{ void m1(); void m2(); } class Child2 extends Object implements X { public void m1(){ System.out.println("Child2 M1"); } public void m2(){ System.out.println("Child2 M2"); } } public class ParentChildInfterfaceDemo { public static void main(String[] args){ X x = new Child2(); X x1 = new Child2(); x.m1(); x.m2(); x.equals(x1); } } Will the above code work? If yes? Can you please explain why the code x.equals(x1) will work as the equals method is called on interface reference vaiable?
What is a protected method?
How does java enable high performance?
can we write two same methods in outer class and innerclass.
Discuss about garbage collector in Java.
0 Answers Agilent, Integreon, ZS Associates,
Can java cast null?
What is r in java?