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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. please give me a program of the 12 horoscope using
View Tutorial By: auvx at 2011-08-03 02:02:56
2. please somebody tell me how to run this applicatio
View Tutorial By: black Panther at 2008-04-01 02:08:09
3. i want to say only one thing
great
View Tutorial By: ashish at 2009-06-09 21:36:45
4. The site is too informative. I just like their imm
View Tutorial By: Priyadarshi Tripathi at 2010-10-26 23:44:46
5. good
View Tutorial By: Sudip Khatiwara at 2010-04-23 00:52:58
6. It is very Important Site
View Tutorial By: Shridhar Koli at 2011-12-29 11:43:29
7. Hi : Pulkit Malviya .I think that book has coding
View Tutorial By: Anand at 2012-11-04 14:13:50
8. Program is good and easy to understand
View Tutorial By: sravs at 2011-05-16 00:45:05
9. its very nice
View Tutorial By: keerthi at 2012-06-28 17:04:36
10. Hi ngocanh, You are right. The client has to be in
View Tutorial By: Emiley J at 2013-07-14 05:51:35