Comment on Tutorial - How connection pooling works in Java and JDBC By Ramlak



Comment Added by : sonia

Comment Added at : 2013-09-21 20:22:49

Comment on Tutorial : How connection pooling works in Java and JDBC By Ramlak
1. Performance

Object pooling provides better application performance As object creation is not done when client actually need it to perform some operation on it Instead objects are already created in the pool and readily available to perform any time. So Object creation activity is done much before So it does help in achieving better run-time performance

2. Object sharing :

Object Pooling encourage the concept of sharing. Objects available in pool can be shared among multiple worker threads . One thread Use the Object and once used it returns back to its Object pool and then it can be used by some other worker thread. So once created objects are not destroyed and thus destruction and creation again and again is not required. That again help in generating better performing code.

3. Control on Object instances :
By declaring size of Object pool we can control the no of instance creation. Thus a finite no of objects are created as decided depending upon required application capacity and scalability or peak load.

4. Memory conservation :
Finite no of instances are created So it helps in better memory management . Too many instances are not

Read through extensive details here :

http://efectivejava.blogspot.in/2013/09/8-reasons-why-object-pooling-is.html


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Microsoft VB.net 2008 not showing Crystal Report V
View Tutorial          By: Ali at 2011-11-30 03:21:00

2. Thnks, such a basic example to understand. Keep it
View Tutorial          By: Pradeep Singh at 2012-10-11 04:24:54

3. i know this example this is in mg.hill but i want
View Tutorial          By: srikanta at 2009-11-18 00:06:57

4. Good introduction to a valuable topic
View Tutorial          By: Elayaperumal at 2011-07-18 12:48:15

5. Error...!!
please send correct java code fo

View Tutorial          By: mayuri at 2013-10-20 13:26:30

6. hi this is from Ashok....
can you send the

View Tutorial          By: Ashok at 2015-04-16 11:51:51

7. not satisfied...

want to print the

View Tutorial          By: nikhil jha at 2010-03-08 04:25:50

8. Hello Friends, i am getting an error in following
View Tutorial          By: Albin at 2008-07-10 23:49:33

9. The !isset() is basically checking if the string i
View Tutorial          By: Bijan at 2012-09-21 20:49:41

10. You are good work ,an axplane is so gread

View Tutorial          By: chetan at 2009-06-08 11:58:51