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



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. Sorry Actually i used previous version of comm.jar
View Tutorial          By: A.Balaji at 2010-09-15 02:44:55

2. I have already establish connection with mysql in
View Tutorial          By: shaishav at 2013-06-20 04:27:44

3. Awesome .
Helpfull!!

View Tutorial          By: ARMLAB-NG at 2009-06-06 09:22:00

4. Thanks for the clear illustration of the MVC2 arch
View Tutorial          By: Tayo at 2010-01-03 12:53:46

5. Can we use the if sttmt l;ike this::
if (a

View Tutorial          By: Anubhav at 2010-11-14 08:15:04

6. I Want To Know More About Windows Azure Advantages
View Tutorial          By: sathish at 2010-08-31 10:23:10

7. I am deveolper in envision .i am interested in scj
View Tutorial          By: shiva kumar at 2013-02-20 05:51:42

8. Nice Intro .......
View Tutorial          By: MohanRaja at 2012-06-28 11:02:40

9. Hi,

Just wonder if there is a way t

View Tutorial          By: Bank at 2007-12-18 04:30:26

10. Hi Steve,

thanks for your code. It

View Tutorial          By: Johnny at 2010-10-29 09:25:41